Creating the enemy entities

Blitz3D Forums/Blitz3D Programming/Creating the enemy entities

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.

Hello everyone,

I am creating a rather simple game (player-ship-destroys-aliens kind of thing) but I am having trouble creating the enemy entities. The enemy entities will be placed using random coordinates. Generating the coordinates is no problem, but how do I go about loading the .3ds mesh that will represent the enemies? I tried creating a custom type with a Field in which to save the mesh, but when I tried to Position it, I got an "Illegal conversion error" or something? Also, is there a way to create them without calling LoadMesh for every enemy? I think loading the mesh so many times is ineffective. Thanks.