![]() |
Mapping With The MEd - AI Detection
In a previous post I wrote about the process of working out how to detect player deaths without problems.
Though after recent events I decided this topic needed reposting in the DFX2 forum... The short story is, during the latest round of mapping for DFX2 I discovered quite a few new things. One of them being there's a real difference between the statements "is not alive" and "is dead". Particularly when it comes to the way the AI is detected by the engine. This led me to discovering a new script to detect player deaths accurately. The resulting code is so simple that I nearly fell over when it worked. :thud: Code:
;Count Player Deaths |
Interesting. I know this is the same script you shared with me earlier. Thanks.
So what exactly is the difference between "not alive" and "dead" ? |
Seems like this is a distinction for finer scripting control, you could argue that their meanings are different not.
Dead - Not Dead vs Alive - Not Alive So I think it goes something like this: You can be dead in area 1 because there's a body there (you just died) to detect but you can't be not alive in area 1 because you're not there (you're not alive). |
Quote:
|
All times are GMT -5. The time now is 02:53 PM. |
Powered by vBulletin®