-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into missile_manpad
- Loading branch information
Showing
205 changed files
with
4,001 additions
and
653 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
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,22 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: LinkIsGrim | ||
* Stat condition to only show stats if all exist. | ||
* | ||
* Arguments: | ||
* 0: Stats <ARRAY> | ||
* 1: Item config path <CONFIG> | ||
* | ||
* Return Value: | ||
* Show stat <BOOL> | ||
* | ||
* Example: | ||
* ["ACE_maxZeroing", _config] call ace_arsenal_fnc_statCondition_existsAll | ||
* | ||
* Public: Yes | ||
*/ | ||
|
||
params ["_stats", "_config"]; | ||
TRACE_2("statCondition_existsAll",_stats,_config); | ||
|
||
(_stats findIf {isNull (_config >> _x)}) == -1 |
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,22 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: LinkIsGrim | ||
* Stat condition to only show stats if at least one exists. | ||
* | ||
* Arguments: | ||
* 0: Stats <ARRAY> | ||
* 1: Item config path <CONFIG> | ||
* | ||
* Return Value: | ||
* Show stat <BOOL> | ||
* | ||
* Example: | ||
* ["ACE_maxZeroing", _config] call ace_arsenal_fnc_statCondition_existsAny | ||
* | ||
* Public: Yes | ||
*/ | ||
|
||
params ["_stats", "_config"]; | ||
TRACE_2("statCondition_existsAny",_stats,_config); | ||
|
||
(_stats findIf {!isNull (_config >> _x)}) != -1 |
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,25 @@ | ||
#include "..\script_component.hpp" | ||
/* | ||
* Author: LinkIsGrim | ||
* Generic Yes/No/None Text statement for boolean stats. | ||
* | ||
* Arguments: | ||
* 0: Stat <STRING> | ||
* 1: Item config path <CONFIG> | ||
* | ||
* Return Value: | ||
* Stat Text <STRING> | ||
* | ||
* Example: | ||
* ["ACE_hasEHP", _config] call ace_arsenal_fnc_statTextStatement_yesno | ||
* | ||
* Public: Yes | ||
*/ | ||
|
||
params ["_stat", "_config"]; | ||
TRACE_2("statTextStatement_yesno",_stat,_config); | ||
|
||
private _statConfig = _config >> _stat; | ||
if (isNull _statConfig) exitWith { LELSTRING(common,none) }; | ||
|
||
localize ([ELSTRING(common,No), ELSTRING(common,Yes)] select (getNumber _statConfig > 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
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
Oops, something went wrong.