BIS fnc execVM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 21: Line 21:
|s2= [argument(s), filename] call [[BIS_fnc_execVM]]
|s2= [argument(s), filename] call [[BIS_fnc_execVM]]


|p21= argument(s): [[Any Value]] - Arguments are passed to script as magic variable [[_this]]. |PARAMETER21=
|p21= argument(s): [[Any Value]] - Arguments are passed to script as magic variable [[_this]].


|p22= filename: [[String]] |PARAMETER22=
|p22= filename: [[String]]


|r2= [[Script]] - script handle, which can be used to determine (via [[scriptDone]]) when the script has finished.
|r2= [[Script]] - script handle, which can be used to determine (via [[scriptDone]]) when the script has finished.

Revision as of 18:08, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Program Flow

Syntax

Syntax:
Syntax needed
Parameters:
filename: String
Return Value:
Return value needed

Alternative Syntax

Syntax:
[argument(s), filename] call BIS_fnc_execVM
Parameters:
argument(s): Any Value - Arguments are passed to script as magic variable _this.
filename: String
Return Value:
Script - script handle, which can be used to determine (via scriptDone) when the script has finished.

Examples

Example 1:
"Bonus\initializeExtras.sqf" call BIS_fnc_execVM;
Example 2:
[player,"reposition.sqf"] call BIS_fnc_execVM;
Example 3:
[[[_param1, _param2], "addBonus.sqf"], "BIS_fnc_execVM", true] call BIS_fnc_MP;

Additional Information

See also:
See also needed

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