• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

trouble creating custom enemys

Status
Not open for further replies.
So there was something I want to make but when I changed the SpawnHealth it caused the enemy to disappear the first time I hit it instead of staying alive. Any ideas on how to fix this?
 
I'm not sure if I'm mistaken, but if your object with more than 1 health does not have a painstate to transition to, it will default to the S_NULL state. This state will cause the object to be immediately removed with no further actions taken.
Try giving your enemy a painstate to transition to when it loses health so the object doesn't dissapear.

Read here for more information about objects and their parameters.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top