OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: max_killer_payne on 22 Jul 2003, 12:29:55
-
Just had a gd idea. Mayb during a multiplayer match if you are outnumbered or seperated from your squad during a mission, yuo could use an action to surrender and then are taken prisoner, all your weapons are taken and you must follow the leader of the enemy sqaud. When you get more than 20m away from the leader the leader is alerted.
-
there's a setcaptive command i think.
and as for the rest, the surrendered player would have to go into a cutscene, so that the ai system could make the player follow the enemy prison guard
-
player setcaptive true
removeallweapons player
#loop
@ player distance _guard < 20
~1
@ player distance _guard > 20
_guard globalchat "fall back into formation *g*"
goto "loop"