exec

From Bohemia Interactive Community
Revision as of 03:21, 16 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

back to COMREF

exec x


Operand types: argument: Any Value

script: String

Type of returned value: [[ Nothing]]

Description:

Execute script.

Argument is passed to script as local variable _this.

Script is first searched for in mission folder, then in campaign scripts subfolder, lastly in global scripts folder.


Example:

[ player, jeepOne] exec "getIn.sqs"