[AI] SuicideSleep

Status
Not open for further replies.
Level 2
Joined
Sep 4, 2004
Messages
30
Can someone explain me what's the purpose of
this function. I always use regular Sleep,
and if seconds are less than 5 than its nearly
the same - so?
 
I dont understand why it is called suicide,
and why is it always used with attack functions,
the global variable is only rarely used and
I never saw it to set to 0, so it is always less and less. What's the deeper meaning of this?
 
Well, I think it has something to do with the feature of "waiting a set amount of time until the next attack wave begins." This is implemented in the AI editor and is supposedly is used in "defend for x minutes" type missions.

I haven't found much use for it in custom scripted AIs.
 
Status
Not open for further replies.
Back
Top