-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Kingsley
committed
May 11, 2017
1 parent
a93b2b7
commit 2fcd38a
Showing
4 changed files
with
59 additions
and
0 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,17 @@ | ||
if (!isServer) exitWith {}; | ||
|
||
private _config = (missionConfigFile >> "CfgARCMF" >> "Fortify"); | ||
|
||
{ | ||
_x params ["_faction", "_side"]; | ||
|
||
private _budget = getNumber (_config >> _faction >> "budget"); | ||
private _objects = getArray (_config >> _faction >> "objects"); | ||
|
||
[_side, _budget, _objects] call acex_fortify_fnc_registerObjects; | ||
} forEach [ | ||
["BLUFOR", west], | ||
["OPFOR", east], | ||
["INDFOR", resistance], | ||
["CIVILIAN", civilian] | ||
]; |
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