I am going in circles. I have code that works but cannot figure out what the difference is to what I am currently working on...
I use a for next loop to create my enemies with a copyentity.
This works and each pass of the loop positions the entity then assigns scale and entitypickmode to 2.
Trouble is only the last enemy created is actually pickable.
This is regardless of whether there are 1 or 200 enemies.
Only the last one created is pickable.
I use types to assign the parameters and I have copied this from a working program I have. Any ideas ?
Note: All other pickable items are working fine and enemies work if I create each one individually with loadanimmesh and assign all variable individually. Not ideal though.
BTW: If you are creating a FPS game, buy the CSP Engine 7 its awesome.
I use a for next loop to create my enemies with a copyentity.
This works and each pass of the loop positions the entity then assigns scale and entitypickmode to 2.
Trouble is only the last enemy created is actually pickable.
This is regardless of whether there are 1 or 200 enemies.
Only the last one created is pickable.
I use types to assign the parameters and I have copied this from a working program I have. Any ideas ?
Note: All other pickable items are working fine and enemies work if I create each one individually with loadanimmesh and assign all variable individually. Not ideal though.
BTW: If you are creating a FPS game, buy the CSP Engine 7 its awesome.