freeExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "|branch= dev " to "")
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
|version1= 2.12
|version1= 2.12


|branch= dev


|gr1= System
|gr1= System
Line 11: Line 10:
{{Feature|important|This command was introduced in {{arma3}} dev v2.11.149751 and is only effective in DevBranch; it does nothing in stable branch.}}
{{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]] extension


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


|r1= [[Boolean]] or [[Nothing]]
|r1= [[Boolean]] or [[Nothing]]
* [[true]] in case of success, [[false]] if something did not go to plan
* [[false]] if extension unloading attempt failed, [[true]] otherwise
* [[Nothing]] if not dev branch
* [[Nothing]] if not dev branch



Latest revision as of 19:30, 10 March 2023

Hover & click on the images for description

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 extension
Parameters:
extension: String - extension name (see callExtension)
Return Value:
Boolean or Nothing
  • false if extension unloading attempt failed, true otherwise
  • 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