execVM

From Bohemia Interactive Community
Revision as of 04:55, 3 July 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


argument execVM filename


Operand types:

argument: Any Value

filename: String

Type of returned value:

Script

Compatibility:

Version 2.60 required.

Description:

Compile and execute function (sqf). Argument is passed to the script as local variable _this. The function is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder.

Example:

player execVM "test.sqf"