j-man - soz, but i don't think it make much sense to go into
deatail about passing unitnames or anything else at this point
of the questions here.
Maybe this one makes more sense (don't think so without
having read a tut about scripts or arrays, but however):
[] exec "sriptname.sqs"
[] = an array of any kind
inside script an array can be accessed as a whole by:
_this
or by individual elements e.g:
_this select 0
_this select 1
_this select etc.
let's say the array = [whateva1,whateva2,whateva3]
then:
_this = [whateva1,whateva2,whateva3]
or:
_this select 0 = whateva1
_this select 1 = whateva2
_this select 2 = whateva3
:note - again all i can suggest you is to have a read thru some
scripting tutorials to get some more knowledge about what
i'm talking here.
~S~ CD