Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-14-2001, 11:04 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
playerdies flags

how long does the playerdies flag last or exist?

or is there a better way to test if the player dies?
Reply With Quote
  #2  
Old 12-14-2001, 11:21 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Re: playerdies flags

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?
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #3  
Old 12-14-2001, 11:25 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Re: Re: playerdies flags

Quote:
Originally posted by Xaviar


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?
It makes sense, I might try a variation of that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.