I need make a script that when a fireball dies causes something like an explosion, but I don't know how to check if the NPC is alive or not because with the NPC script system, because when it dies the script will stop to executing. Is there a way to do this?
| ||
|
Here an example:
Code: Select all doAll credits to KFCMario. Remember of create a variable n. If you want, however, the player fireball... | ||
Thanks for the help! I tried everything and it's just too difficult do this with a fireball, I mean, if I'd have to work with only one fireball it wouldn't be a problem, but I have to work with multiple fireballs, which is really hard. So I give up, I'm gonna make the fireball from scratch so that I can execute the script I want before the NPCt dies. Thanks a lot anyway!
| ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||