Target system

Blitz3D Forums/Blitz3D Programming/Target system

pickedentity returns a handle. It's a number, of course. Like all entities. Not a memory adress. Eg:

Enemy=loadmesh("thingie.3ds")
...
p=PickedEntity(..

If p=enemy then print "outch!"