DFBarracks - Forums




Delta Force Barracks Forums - Powered by XMB 1.9.11
Delta Force Barracks Forums
Not logged in [Login ]
Go To Bottom

Printable Version  
Author: Subject: wac file commands
comandobat
Grunt
*


Avatar


Posts: 7
Registered: 4-6-2007
Member Is Offline


[*] posted on 4-6-2007 at 01:20 AM
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
View user's profile View All Posts By User
Jonathan
Captain
****




Posts: 295
Registered: 5-4-2003
Member Is Offline


[*] posted on 4-7-2007 at 11:53 AM


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.
View user's profile View All Posts By User

  Go To Top

Powered by XMB 1.9.11
XMB Forum Software © 2001-2012 The XMB Group
[Queries: 15] [PHP: 51.5% - SQL: 48.5%]












Copyright © 2002 - 2008 All Rights Reserved - DFBarracks.com
Site Design by A.Bullet - ScreamingDemon.com