OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Charlotte on 04 Jul 2003, 13:40:44
-
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
-
not (alive cobra) and not (alive player2 ) and not (alive player3)
if u wanted it to make sure that when the 3 are dead the civ is alive:
not (alive cobra) and not (alive player2 ) and not (alive player3) and alive civilian
Check distance between objects:
soldier distance civilian >= 10
-
thanks :)
-
Welcome to the forums, charlotte :)
*does his best prince charming smile*
=========
dang! it didn't work - she logged off ::) ;D