Hello again, chaps!
I'm having trouble with CopyEntity, it seems.
I've made an array of types, the first field of which is supposed to be a pointer to a sprite. I have 2 functions -
1) which sets up each group of sprites
2) one which renders each group of sprites
The set-up function executes right every time (as far as I can tell), but when the render function tries to execute for the third time, it decides the entity it's trying to access doesn't exist. This, specifically, is the sprite image pointer.
All the other information contained within the type list is correct, as far as I can tell...
Is there any way to check the success or otherwise of the CopyEntity command? Or perhaps a way to lift the limit on the amount of entities I can create?
Thanks!
I'm having trouble with CopyEntity, it seems.
I've made an array of types, the first field of which is supposed to be a pointer to a sprite. I have 2 functions -
1) which sets up each group of sprites
2) one which renders each group of sprites
The set-up function executes right every time (as far as I can tell), but when the render function tries to execute for the third time, it decides the entity it's trying to access doesn't exist. This, specifically, is the sprite image pointer.
All the other information contained within the type list is correct, as far as I can tell...
Is there any way to check the success or otherwise of the CopyEntity command? Or perhaps a way to lift the limit on the amount of entities I can create?
Thanks!