Skip to content

Commit a34df3f

Browse files
committed
All-In-One Command Menu v1.3.0
1 parent 2be31b8 commit a34df3f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+167
-142
lines changed

Leopard20-All-In-One-Command-Menu-8553d0a/.github/ISSUE_TEMPLATE/bug_report.md renamed to Leopard20-All-In-One-Command-Menu-f056ce3/.github/ISSUE_TEMPLATE/bug_report.md

Leopard20-All-In-One-Command-Menu-8553d0a/.github/ISSUE_TEMPLATE/feature_request.md renamed to Leopard20-All-In-One-Command-Menu-f056ce3/.github/ISSUE_TEMPLATE/feature_request.md

File renamed without changes.

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/AIMenu.sqf renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/AIMenu.sqf

File renamed without changes.

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/CfgSounds.hpp renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/CfgSounds.hpp

File renamed without changes.

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/CustomMenus.hpp renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/CustomMenus.hpp

File renamed without changes.

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/Functions/Assemble.sqf renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/Functions/Assemble.sqf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ AIO_staticAssemble_Fnc = {
3535
_unit1 doMove _pos;
3636
_unit2 doMove _pos;
3737
sleep 1;
38-
while {!(unitReady _unit1) && !(unitReady _unit2) && (alive _unit1) && (alive _unit2)} do {sleep 1};
38+
waitUntil {sleep 1; !(!(unitReady _unit1) && !(unitReady _unit2) && (alive _unit1) && (alive _unit2))};
3939
if (_unit1 distance _pos > 10 OR _unit2 distance _pos > 10) exitWith {_units doMove (getpos _unit1)};
4040
_base = unitBackpack _unit2;
4141
_unit2 action ["PutBag"];
@@ -46,7 +46,7 @@ AIO_staticAssemble_Fnc = {
4646
_unit1 = _units select 0;
4747
if (vehicle _unit1 != _unit1) exitWith {};
4848
_unit1 doMove _pos;
49-
while {!(unitReady _unit1) && (alive _unit1)} do {sleep 1;};
49+
waitUntil {sleep 1; !(!(unitReady _unit1) && (alive _unit1))};
5050
if (_unit1 distance _pos > 10) exitWith {_units doMove (getpos _unit1)};
5151
_array = nearestObjects [_unit1, ["WeaponHolder"], 10];
5252
_base = firstBackpack (_array select 0);

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/Functions/CopyMyStance.sqf renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/Functions/CopyMyStance.sqf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,15 @@ AIO_copy_my_stance_fnc =
125125
};
126126
} forEach AIO_copyStanceUnits;
127127
};
128-
while {AIO_copy_my_stance} do {
128+
waitUntil {
129+
sleep 1;
129130
_pos = stance player;
130131
_posIndex = _stanceArray find _pos;
131132
_pos = _posArray select _posIndex;
132133
{
133134
_x setUnitPos _pos;
134135
} forEach AIO_copyStanceUnits;
135-
sleep 1;
136+
!(AIO_copy_my_stance)
136137
};
137138
player groupChat "Stop copying my stance.";
138139
{

Leopard20-All-In-One-Command-Menu-8553d0a/addons/AIO_AIMENU/Functions/Driver.sqf renamed to Leopard20-All-In-One-Command-Menu-f056ce3/addons/AIO_AIMENU/Functions/Driver.sqf

File renamed without changes.

0 commit comments

Comments
 (0)