exec: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|E]]
[[Category:Scripting Commands ArmA|E]]


back to [[Scripting_Reference#E|COMREF]]


<h2 style="color:#000066"> '''''argument'' exec ''script'''''</h2>
<h2 style="color:#000066"> '''''argument'' exec ''script'''''</h2>

Revision as of 11:59, 23 April 2006


argument exec script


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"