execVM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[[player]] execVM "test.sqf"</pre> |= Example 1
|x1= <code>[[player]] execVM "test.sqf"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:44, 4 August 2006

-wrong parameter ("Arma") defined!-2.6
Hover & click on the images for description

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

Syntax:
argument execVM filename
Parameters:
argument Any Value
filename String
Return Value:
Script

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

Notes

Bottom Section