Home   Help Search Login Register  

Author Topic: variable/array help  (Read 455 times)

0 Members and 2 Guests are viewing this topic.

ColMoore

  • Guest
variable/array help
« on: 08 Jan 2003, 01:30:09 »
I need some script help here before I go nuts :

1) From a trigger that uses [this] exec "addme.sqs" I need to store the names of the AI into a growing array. This means storing names like "East Alpha Black:4" etc.

2) It should be possible to pick out the names from the array again later.


ColMoore

Liquid_Silence

  • Guest
Re:variable/array help
« Reply #1 on: 08 Jan 2003, 02:43:49 »
um, instead of [this] exec "addme.sqs" use: unitArray = unitArray + [this], and put unitArray = [] into init.sqs....