O Ilusionista
Captain 100K
Is there a simple way to set more than 1 life for a NPC? I would like to add a mode where we would have a AI controlled NPC version of a playable character.
I have the idea of spawning an entity where the NPC dies, to control/count how much lifes the NPC has (using a variable) and spawn it again if he still has enough life count. Dunno if this is the best idea.
My main concern about this is when the NPC dies on holes, for example - to avoid the new NPC to be spawned over a hole again and again (maybe using a checkhole would do the job).
Any help is appreciated.
I have the idea of spawning an entity where the NPC dies, to control/count how much lifes the NPC has (using a variable) and spawn it again if he still has enough life count. Dunno if this is the best idea.
My main concern about this is when the NPC dies on holes, for example - to avoid the new NPC to be spawned over a hole again and again (maybe using a checkhole would do the job).
Any help is appreciated.