-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zeus - Add Repair and Rearm interactions (#6632)
* Add Repair and Rearm interaction to zeus * Optimize remoteControl statement
- Loading branch information
1 parent
435545f
commit 1dd817f
Showing
6 changed files
with
62 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class ACE_ZeusActions { | ||
class ZeusUnits { | ||
class GVAR(rearm) { | ||
displayName = CSTRING(Rearm); | ||
icon = "\z\ace\addons\rearm\ui\icon_rearm_interact.paa"; | ||
condition = QUOTE(-1 < (curatorSelected select 0) findIf {_x isKindOf 'AllVehicles' && {!(_x isKindOf 'Man')}}); | ||
statement = QUOTE( \ | ||
{ \ | ||
if (_x isKindOf 'AllVehicles' && {!(_x isKindOf 'Man')}) then { \ | ||
[ARR_2(objNull,_x)] call ace_rearm_fnc_rearmEntireVehicleSuccess; \ | ||
}; \ | ||
} forEach (curatorSelected select 0); \ | ||
); | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters