Event when an NPC takes damage?
Posted: Sat Jul 05, 2014 10:57 am
Hi everyone!
I need help for something concerning the level editor. I'm currently creating a boss fight for a level and I'd like to add some spice to that boss fight. Whenever the boss takes damage, I'd like to have something shoot up from the ground that the player needs to dodge (aka, an event occurs that activates a generator). However, I don't know what to tell the level editor so it actually does what I desire.
The Events window offers "Death", "Activate", "Talk" and "No More Objects In Layer". I know that "Death" occurs when the boss dies, "Activate" can occur when the object appears on the screen, "Talk" can occur when the player talks to that NPC, and "No More Objects In Layer" occurs when the layer is empty. But are there more functions than these, possibly, so I could make an event happen when the NPC/boss takes a hit? Or if it's not possible, what's a good alternative I could use?
Thanks in advance.
I need help for something concerning the level editor. I'm currently creating a boss fight for a level and I'd like to add some spice to that boss fight. Whenever the boss takes damage, I'd like to have something shoot up from the ground that the player needs to dodge (aka, an event occurs that activates a generator). However, I don't know what to tell the level editor so it actually does what I desire.
The Events window offers "Death", "Activate", "Talk" and "No More Objects In Layer". I know that "Death" occurs when the boss dies, "Activate" can occur when the object appears on the screen, "Talk" can occur when the player talks to that NPC, and "No More Objects In Layer" occurs when the layer is empty. But are there more functions than these, possibly, so I could make an event happen when the NPC/boss takes a hit? Or if it's not possible, what's a good alternative I could use?
Thanks in advance.