OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Charlotte on 04 Jul 2003, 13:45:01
-
Hello.
I know is a silly question.
I have got 3 soldiers and 1 civilian in my multiplayer game, the objective of the game is to get 10 mts closer or less to the civilian... my problem is that how can i write a command that if the 3 soldiers are dead and the civilian is still alive the game will finish.
What I did was to use the alive obj command..like this
not (alive cobra)
How can I add the other 2 players ie:
not (alive cobra), not (alive player2 ), not (alive player3)
BUT THE ABOVE COMMAND DOESNT WORK.
any suggestions pleaseeeeeeeeeeeeeeeee!
Thanks a lot.
xx
-
There are a few ways to have multiple conditions. Try this:
not (alive cobra) AND not (alive player2) AND not (alive player3)
&& is another symbol for AND. You can also use OR or || in condition lines.