exec: Difference between revisions

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


back to [[Scripting_Reference#E|COMREF]]
back to [[Scripting_Reference#E|COMREF]]

Revision as of 18:27, 22 April 2006


back to COMREF

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"