OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ICMTRIGGER on 29 Aug 2003, 21:22:52
-
I MADE A CO OP MAP WHERE THE GAME HAS TO END WHEN/IF THE PILOT GETS SHOW IF SOME ONE COULD HELP ME AND TELL ME HOW I COULD GET THAT DONE I'D APPRECIATE IT.
-
Use this in the ON ACTIVATION feild of the triger that ends the game ( an END 1 type trigegr )
? alive pilotname
If it dont work sorry - i cant remember much on the alive adn dead status of units - try with brakets around the ALIVE word also ...
Rhys
-
Place a trigger, select type 'End1' and in the condition field type....not alive pilotname.......the not alive part might be all one word, i am not sure, so try both ways ;)
-
!alive P1
where P1 is pilot name
-
its been said before but i'll say it again -
not (alive pilotname)
in the condition field of an END trigger.
and the REAL reason im posting - watch the caps please, using them excessivly pisses everyone off, and often gets you the words setdammage,player and 1, in the answer to your question... if you follow me.
-
! not NUTS :-)
-
If the pilot is in a Chopper or Plane in init then you can use a trigger with:
-------------------------
Type: end1
! alive (driver heli)
-------------------------
dont ask me why BIS made Driver and Pilot the same :)
-
hmm - for some reason, i see a question, where sombeody
is asking for ending a mission, when a pilog gets shot
I couldn't really see the question for: when he gets killed -
just shot.
If you really mean only shot, you could try using an
eventHandler "hit", or check his damage.
If you want him to be killed, than do what you already
were told to do here ;)
~S~ CD