Click on the images for descriptions
Introduced in
- Game:
- Arma 3
- Version:
- 1.00
Description
- Description:
- execVM desired script with desired argument(s). This function is only really useful when combined with BIS_fnc_MP to execute a script remotely.
Syntax
- Syntax:
- filename call BIS_fnc_execVM
- Parameters:
- filename: String
- Return Value:
- Script - script handle, which can be used to determine (via scriptDone) when the script has finished.
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
- Execution:
- call
- Multiplayer:
- -
- See also:
- BIS_fnc_execFSMBIS_fnc_execRemoteBIS_fnc_spawnBIS_fnc_call
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To