From dee52083d359434fc3ac51a871c1b836d092d2ac Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:55:41 +0300 Subject: init --- .../Module/Skill/Actions/Officer_Undeploy_MASH.sqf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Client/Module/Skill/Actions/Officer_Undeploy_MASH.sqf (limited to 'Client/Module/Skill/Actions') diff --git a/Client/Module/Skill/Actions/Officer_Undeploy_MASH.sqf b/Client/Module/Skill/Actions/Officer_Undeploy_MASH.sqf new file mode 100644 index 0000000..99b92e8 --- /dev/null +++ b/Client/Module/Skill/Actions/Officer_Undeploy_MASH.sqf @@ -0,0 +1,22 @@ +/* + Script: Officer Skill MASH Undeploy + Description: Undeploy the MASH +*/ + +Private ["_MASH"]; + +_MASH = _this select 0; + +_skip = false; +for '_z' from 0 to 3 do { + sleep 0.5; + player playMove "AinvPknlMstpSlayWrflDnon_medic"; + sleep 0.5; + waitUntil {animationState player == "ainvpknlmstpslaywrfldnon_amovpknlmstpsraswrfldnon" || !alive player || vehicle player != player}; + if (!alive player || vehicle player != player) exitWith {_skip = true}; +}; + +if (!_skip) then { + deleteVehicle _MASH; + WFBE_SK_V_LastUse_MASH = -2000; +}; \ No newline at end of file -- cgit v1.3.1