summaryrefslogtreecommitdiffstats
path: root/Client/Module/Skill/Actions
diff options
context:
space:
mode:
authorhybrid <hybrid@hybridlabs.pro>2026-06-11 19:55:41 +0300
committerhybrid <hybrid@hybridlabs.pro>2026-06-11 19:55:41 +0300
commitdee52083d359434fc3ac51a871c1b836d092d2ac (patch)
tree89bbb6326348a99bcf4a68761bd0c9628b80d4bb /Client/Module/Skill/Actions
downloada2wf_lingor-dee52083d359434fc3ac51a871c1b836d092d2ac.tar.gz
a2wf_lingor-dee52083d359434fc3ac51a871c1b836d092d2ac.tar.bz2
a2wf_lingor-dee52083d359434fc3ac51a871c1b836d092d2ac.zip
init
Diffstat (limited to 'Client/Module/Skill/Actions')
-rw-r--r--Client/Module/Skill/Actions/Officer_Undeploy_MASH.sqf22
1 files changed, 22 insertions, 0 deletions
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