More examples of using the call command...
soldiers = ["s1","s2","s3"]
men = ["c1',"c2","c3"]
[call soldiers select 0,call men select 0] exec "script.sqs"
soldiers = ["s1","s2","s3"]
men = ["c1',"c2","c3"]
_sold = call soldiers select 0
_man = call men select 0
[_sold,_man] exec "script.sqs"
My universal weapons respawn script uses the call command..it looks something like this:
_name = _this select 0
_unit = call _name
#respawnloop
@!alive _unit
@alive call _name
_unit = call _name
removeallweapons _unit
.....
.....
.....
.....
goto "respawnloop"