mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
22 lines
756 B
Plaintext
22 lines
756 B
Plaintext
private["_object","_position"];
|
|
_object = _this select 3;
|
|
|
|
_position = [position _object,0,0,0,0,0,0,position player] call BIS_fnc_findSafePos;
|
|
|
|
//Standup
|
|
//player playMove "amovpercmstpsraswrfldnon_amovpknlmstpslowwrfldnon";
|
|
//sleep 1;
|
|
//waitUntil { animationState player != "amovpercmstpsraswrfldnon_amovpknlmstpslowwrfldnon"};
|
|
|
|
//Kneel Down
|
|
player playMove "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon";
|
|
waitUntil { animationState player != "amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon"};
|
|
sleep 2;
|
|
_object setpos _position;
|
|
_id = [player,20,true,(getPosATL player)] spawn player_alertZombies;
|
|
sleep 3;
|
|
|
|
|
|
//Other possibilities
|
|
//[_object,0, 0] call bis_fnc_setpitchbank;
|
|
//_object setpos [getpos _object select 0, getpos _object select 1, 0]; |