freeExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|version1= 2.12
|version1= 2.12


|branch= dev


|gr1= System
|gr1= System


|descr= Unloads given extension loaded previously with [[callExtension]] so that extension developer could rapidly tweak developed extension without restarting the game.
|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 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 for security reasons 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:00, 19 November 2024

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 for security reasons 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