exec: Difference between revisions

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

Revision as of 20:02, 1 June 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"