Quote:
Originally posted by btedji
how long does the playerdies flag last or exist?
or is there a better way to test if the player dies?
|
As far as I know, it only lasts for the amount of time it takes to send the event to all the scripts....Just make sure that a if (playerdies) is at the top of one of your hierarchies (sp?)...or, if you can't do it that way...just have an if (playerdies) this.playerdied=1; and then check for playerdied inside your other script....Did that make sense?