execVM: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.6|= Game version | |||
____________________________________________________________________________________________ | |||
| Compile and execute function (sqf). Argument is passed to the script as local variable _this. The function is first searched for in the mission folder, then in the campaign scripts folder and finally in the global scripts folder. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | argument '''execVM''' filename |= Syntax | ||
|p1= argument [[Any Value]] |= Parameter 1 | |||
|p2= filename [[String]] |= Parameter 2 | |||
[[Script]] | | [[Script]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <pre>[[player]] execVM "test.sqf"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|EXECVM]] | |||
[[Category:Scripting Commands ArmA|EXECVM]] | |||
[[ |
Revision as of 10:09, 2 August 2006
Description
- Description:
- Compile and execute function (sqf). Argument is passed to the script as local variable _this. The function is first searched for in the mission folder, then in the campaign scripts folder and finally in the global scripts folder.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
[[player]] execVM "test.sqf"
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