Cannot retrieve type

Blitz3D SDK Forums/Blitz3D SDK Programming/Cannot retrieve type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

'Get entity data
Local myobj:entity = HandleToObject ( bbEntityID( picked ) )


picked is an entity... when I try this code it wont even compile and throws up an error "Unable to convert from 'Object' to entity'"

Any idea what I am doing wrong? I just want to look up the type I associated with the entity using:

bbSetEntityID( e.entity , HandleFromObject( e ) )