freeExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= dev
|version1= 2.12
 
|branch= dev


|gr1= System
|gr1= System


|descr= Unloads given extension loaded previously with [[callExtension]].
|descr= Unloads given extension loaded previously with [[callExtension]] so that extension developer could rapidly tweak developed extension without restarting the game.
{{Feature|important|This command is limited to DEV branch, so that extension developer could rapidly tweak developed extension without restarting the game.}}
{{Feature|important|This command was introduced in {{arma3}} dev v2.11.149751 and is only effective in DevBranch; it does nothing in stable branch.}}
 
|s1= [[freeExtension]] name
|s1= [[freeExtension]] name


|p1= name: [[String]] - extension name (see [[callExtension]])
|p1= name: [[String]] - extension name (see [[callExtension]])


|r1= [[Boolean]] or [[Nothing]] - [[false]] if something didn't go to plan, [[Nothing]] everywhere except for DEV branch
|r1= [[Boolean]] or [[Nothing]]
* [[true]] in case of success, [[false]] if something did not go to plan
* [[Nothing]] if not dev branch


|x1= <sqf>freeExtension "myExt";</sqf>
|x1= <sqf>freeExtension "myExt";</sqf>
|seealso= [[callExtension]]
|seealso= [[callExtension]]
}}
}}

Revision as of 11:27, 28 July 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.12.

Description

Description:
Unloads given extension loaded previously with callExtension so that extension developer could rapidly tweak developed extension without restarting the game.
This command was introduced in Arma 3 dev v2.11.149751 and is only effective in DevBranch; it does nothing in stable branch.
Groups:
System

Syntax

Syntax:
freeExtension name
Parameters:
name: String - extension name (see callExtension)
Return Value:
Boolean or Nothing
  • true in case of success, false if something did not go to plan
  • Nothing if not dev branch

Examples

Example 1:
freeExtension "myExt";

Additional Information

See also:
callExtension

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note