Search the Community
Showing results for tags 'scritp'.
Found 1 result
-
The handcuffed civilian runs away. Help!
Coladebote posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
City of Georgetown (Tanoa). In a building the rebel forces have imprisoned a Western scientist. Numerous enemy patrols watch over the city. A squad must advance through the urban fabric, access the building and release the scientist. An argument like any other that, surely, has been used in hundreds of action movies. /////////////////////////////////////////////////////////////////////////////////////////////////////////////// // HOSTAGE // _markerstr = createMarker ["HOSTAGE_1",[5792.42,10427.5]]; _markerstr setMarkerShape "ICON"; _markerstr setMarkerType "hd_dot"; _height = 12.6253; _pos = getMarkerPos "HOSTAGE_1"; _HOSTAGE_1 = [ [_pos select 0, _pos select 1, _height], CIVILIAN, ["C_scientist_02_formal_F"],[],[],[],[],[],0] call BIS_fnc_spawnGroup; { group _x setFormDir 180; _x allowFleeing 1; _x setdir 180; _x setCaptive true; _x setUnitPos "AUTO"} forEach units _HOSTAGE_1; /////////////////////////////////////////////////////////////////////////////////////////////////////////////// Question: With this little script the civilian appears in the correct position. However, you have to be handcuffed (setCaptive true), but it doesn't happen that way. It is generated and runs away (allowFleeing 1). The civilian must be handcuffed to be released by the command Can anyone tell me what I am doing wrong? Thank you.- 14 replies
-
- handcuffed civilian
- scritp
-
(and 1 more)
Tagged with: