OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ICMTRIGGER on 26 Aug 2003, 21:03:48
-
I NEED TO MAKE A PILOT ON THE WEST TEAM CAPTURED BY THE ENEMY HOW DO I DO THIS WITHOUT THE ENEMY SHOOTING THE PILOT.
-
yOU CAN EITHER PRESS THE cAPS lOCK BUTTON OR SETCAPTIVE HIM, YOUR CHOICE. lIKE THIS:
pILOT1 SETCAPTIVE TRUE
aND WHEN YOU WANT HIM TO BE ABLE TO GET KILLED AGAIN YOU COULD USE
pILOT1 SETCAPTIVE FALSE
rEMEBER TO REMOVE ALL HIS WEAPONS WITH
rEMOVEALLWEAPONS PILOT1
tHAT SHOULD DO THE TRICK! bUT LIKE i SAID, THIS really COOL BUTTON CALLED cAPS lOCK COULD DO THE TRICK AS WELL.
aND JUST OUT OF CURIOSITY, WHAT HAS THIS WITH MULTIPLAYER TO DO WITH?
-
I'M MAKING A CO OP MAP FOR MULTIPLAYER
-
You wouldn't believe how mod's 'n admins do like
these capital letters.
btw - i also do like them - they're givin me such
an inviting feeling to post correct answers. ;)
Just wait and see if some gettin in here to give you
the right one >:(
~S~ CD
-
And if you want him to become a captive after his chopper (or whatever) got shot down use a "getOut" Eventhandler which calls the hole removeAll Weapons and setCaptive = true stuff. :D