clearworld and types

Blitz3D Forums/Blitz3D Beginners Area/clearworld and types

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.

What's the deal with types after issuing a clearworld?
To load a new level I issue a clearworld then call a function from an include file to load the new level then use a goto to take the program back in front of the main loop to reload the player, the enemies and bullets which are all types but I keep getting an entity doesn't exist error for either the enemies or their bullets. I know the goto works cuz my player is reloaded. What do I need to do to types to get them to reload after the new level is loaded?