- Joined
- Dec 18, 2004
- Messages
- 30
I need a basic script to tell when a player leaves.
I have a trigger already, but it doesn't work.
Left And Destroy
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
Race[(Integer A)] Not equal to -1
Or - Any (Conditions) are true
Conditions
((Player((Integer A))) controller) Not equal to User
((Player((Integer A))) slot status) Not equal to Is playing
((Player((Integer A))) slot status) Equal to Has left the game
((Player((Integer A))) slot status) Equal to Is unused
Then - Actions
Race[(Integer A)]=-1
I have a trigger already, but it doesn't work.
Left And Destroy
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
Race[(Integer A)] Not equal to -1
Or - Any (Conditions) are true
Conditions
((Player((Integer A))) controller) Not equal to User
((Player((Integer A))) slot status) Not equal to Is playing
((Player((Integer A))) slot status) Equal to Has left the game
((Player((Integer A))) slot status) Equal to Is unused
Then - Actions
Race[(Integer A)]=-1