Add Budget update to wiki (#9024)

This commit is contained in:
Mike-MF 2022-09-04 22:38:53 +01:00 committed by GitHub
parent a339074659
commit b97056f527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,25 @@ To verify that an object isn't above a certain terrain height we can check the h
}] call ace_fortify_fnc_addDeployHandler;
```
## 1.4 Updating budget
The Fortify budget can be updated for any side using the function.
```sqf
* Updates the given sides budget.
*
* Arguments:
* 0: Side <SIDE>
* 1: Change <NUMBER> (default: 0)
* 2: Display hint <BOOL> (default: true)
*
* Return Value:
* None
*
* Example:
* [west, -250, false] call ace_fortify_fnc_updateBudget
```
## 2. Events