Home   Help Search Login Register  

Author Topic: alive command  (Read 530 times)

0 Members and 1 Guest are viewing this topic.

Charlotte

  • Guest
alive command
« 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

Ace

  • Guest
Re:alive command
« Reply #1 on: 04 Jul 2003, 13:46:46 »
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
« Last Edit: 04 Jul 2003, 13:49:57 by Ace »

Charlotte

  • Guest
Re:alive command
« Reply #2 on: 04 Jul 2003, 16:09:25 »
thanks :)

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:alive command
« Reply #3 on: 04 Jul 2003, 17:55:58 »
Welcome to the forums, charlotte  :)


*does his best prince charming smile*


=========

dang! it didn't work - she logged off  ::) ;D
« Last Edit: 04 Jul 2003, 18:04:11 by Tomb »