Forum Jump :

Author Message


Posts: 8
Rank:


Level: Hidden

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-11-14 20:57        
     
Hello All.

I am trying to create a hostage mission where BLUFOR will paradrop into a location and then search an area of a helicopter crash to see how many dead bodies there are at the crash site so the rescue team knows how many people are alive and being kept hostage in a location that has to be searched for within a pre-defined area. So far I can do most of it. Although I just want the hostage to be either sitting or kneeling and handcuffed. When the rescue team arrives i would like the hostage to be un-handcuffed and then join the group so that they can all go out to the extraction point and back to base where i shall put an end trigger once they get to the pre-defined HQ building I will setup. I'm just confused with how to make the hostage kneel or sit handcuffed and then released from the cuffs once any group member of the rescue team arrives to free them and escape. Please and Thank you


Author Message


Posts: 11
Rank:


Level: Member

Country: us
Location: Arizona
Occupation:
Age:
In-game name:

 
#2 Posted at 2015-11-15 05:06        
     
starts kneeling in unit init

this disableAI "move"; this disableAI "fire"; this setcaptive true; removeallweapons this; removebackpack this; removeGoggles this; removeHeadgear this; this unassignitem "nvgoggles"; this removeitem "nvgoggles"; removeVest this; this setunitpos "middle"; this addaction ["P.O.W. joins your team",{[pow1] join (_this select 1); pow1 setcaptive false; pow1 setunitpos "auto"; pow1 enableAI "Move"; pow1 enableAI "fire"; pow1 addMagazine "30Rnd_65x39_caseless_mag"; pow1 addWeapon "arifle_MXM_F"; pow1 addMagazine "30Rnd_65x39_caseless_mag"; pow1 addMagazine "30Rnd_65x39_caseless_mag"; }];


can rename pow to whatever you want player to see or http://www.armaholic.com/forums.php?m=posts&q=5056