mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
17 lines
551 B
Plaintext
17 lines
551 B
Plaintext
|
// by commy2
|
||
|
|
||
|
_this spawn {
|
||
|
if (isTouchingGround player) then {
|
||
|
_animation = switch (currentWeapon player) do {
|
||
|
case "" : {"AmovPpneMstpSnonWnonDnon"};
|
||
|
case (primaryWeapon player) : {"AmovPpneMstpSrasWrflDnon"};
|
||
|
case (secondaryWeapon player) : {"AmovPpneMstpSrasWrflDnon"};
|
||
|
case (handgunWeapon player) : {"AmovPpneMstpSrasWpstDnon"};
|
||
|
case (binocular player) : {"AmovPpneMstpSrasWbinDnon"};
|
||
|
default {"AmovPpneMstpSnonWnonDnon"};
|
||
|
};
|
||
|
[player, _animation] call AGM_Core_fnc_doAnimation;
|
||
|
};
|
||
|
sleep 6;
|
||
|
}
|