execVM: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Compile and execute [[function]] (sqf).
| Compile and execute [[SQF]] [[script]].


Argument is passed to the script as local variable _this.
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
The [[script]] is first searched for in the mission folder, then in the campaign scripts folder and finally in the global scripts folder. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 26: Line 26:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Function]] |= See also
| [[SQF syntax]] |= See also


}}
}}

Revision as of 21:46, 20 December 2006

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

Description

Description:
Compile and execute SQF script. Argument is passed to the script as local variable _this. The script 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:
var = player execVM "test.sqf"

Additional Information

See also:
SQF syntax

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