Jump to content
Sign in to follow this  
clone9

Exec

Recommended Posts

hi

how many arguments can I send to the sqs script via exec

from reference of all scripting commands

argument exec script

Operand types:

argument: Any

script: String

Type of returned value:

None

Description:

Execute script. Argument is passed to script as local variable _this. Script is first searched in mission folder, then in campaign scripts subfolder, last in global scripts folder.

Example:

[player, jeepOne] exec "getIn.sqs"

Share this post


Link to post
Share on other sites

I havent either stumbled upon a limit.

Even if there is a limit, I doubt youll try to make more arguments than max 10 or so.

Share this post


Link to post
Share on other sites

thx

but ... how can I get value of arguments

_Relxposun, _Relyposun and _zposun are forever empty

[bmp21, maskovaniR, 5,10,1.6] exec "maskovani_r.sqs";

<maskovani_r.sqs>

_Vehicle = _this select 0

_Maskovani = _this select 1

_Relxposun = _this select 2

_Relyposun = _this select 3

_zposun = _this select 4

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×