From b97056f5273af21811735a51f9a7e96438c62d4c Mon Sep 17 00:00:00 2001 From: Mike-MF Date: Sun, 4 Sep 2022 22:38:53 +0100 Subject: [PATCH] Add Budget update to wiki (#9024) --- docs/wiki/framework/fortify-framework.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/wiki/framework/fortify-framework.md b/docs/wiki/framework/fortify-framework.md index b76e806667..f4b272f872 100644 --- a/docs/wiki/framework/fortify-framework.md +++ b/docs/wiki/framework/fortify-framework.md @@ -67,7 +67,7 @@ class ACEX_Fortify_Presets { ``` Then you will have to set the mission preset to `myMissionObjects` by either using the Fortify editor module or the chat command: `#ace-fortify blufor myMissionObjects`. - + ## 1.3 Adding custom deploy handlers A custom deploy handler allows missions makers to decide if an object can be placed or not. @@ -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 +* 1: Change (default: 0) +* 2: Display hint (default: true) +* +* Return Value: +* None +* +* Example: +* [west, -250, false] call ace_fortify_fnc_updateBudget +``` + ## 2. Events