mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
25 lines
529 B
Plaintext
25 lines
529 B
Plaintext
|
/*
|
||
|
Name: AGM_Parachute_fnc_doLanding
|
||
|
|
||
|
Author: Garth de Wet (LH)
|
||
|
|
||
|
Description:
|
||
|
Performs the landing animation fix
|
||
|
|
||
|
Parameters:
|
||
|
0: OBJECT - unit
|
||
|
|
||
|
Returns:
|
||
|
Nothing
|
||
|
|
||
|
Example:
|
||
|
[player] call AGM_Parachute_fnc_doLanding;
|
||
|
*/
|
||
|
_unit = _this select 0;
|
||
|
["AGM_ParachuteFix", "OnEachFrame"] call BIS_fnc_removeStackedEventHandler;
|
||
|
AGM_Parachuting_PFH = false;
|
||
|
[_unit, "AmovPercMevaSrasWrflDf_AmovPknlMstpSrasWrflDnon", 2] call AGM_Core_fnc_doAnimation;
|
||
|
[_unit] spawn {
|
||
|
sleep 1;
|
||
|
(_this select 0) playActionNow "Crouch";
|
||
|
};
|