freeExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3dev |version1= 2.12 |gr1= System |descr= Unloads given extension loaded previously with callExtension. {{Feature|important|This command...")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= arma3dev
|game1= arma3
|version1= 2.12
|version1= 2.12


|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 for security reasons is only effective in DevBranch; it does nothing in stable branch.}}
|s1= [[freeExtension]] name


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


|r1= [[Boolean]] or [[Nothing]] - [[false]] if something didn't go to plan, [[Nothing]] everywhere except for DEV branch
|p1= extension: [[String]] - extension name (see [[callExtension]])
 
|r1= [[Boolean]] or [[Nothing]]
* [[false]] if extension unloading attempt failed, [[true]] otherwise
* [[Nothing]] if not dev branch


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

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