Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
variable/array help
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: variable/array help (Read 456 times)
0 Members and 1 Guest 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
Logged
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....
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
variable/array help
Top of page