comandobat
Grunt
Posts: 7
Registered: 4-6-2007
Member Is Offline
|
|
wac file commands
How can i add a command in a wac file that will end the game if the start player dies 3 times. What will the code look like??
DFX SP game
|
|
|
Jonathan
Captain
  
Posts: 295
Registered: 5-4-2003
Member Is Offline
|
|
Are you using the MED for DFx to make your map? If so, then I believe there's a method to do this within the MED Events.
Add an event like the one below and have it reset after about 30secs. This event will increment V1 by a count of 1 each time the player dies.
IF SSNdead(10000)
Then Inc(V1,1)
Add another event where:
If Var1 equals 3
Then red wins
Something like that. Its been awhile since I've seen the DFx MED.
|
|
|