Home   Help Search Login Register  

Author Topic: List Units  (Read 842 times)

0 Members and 1 Guest are viewing this topic.

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
List Units
« on: 13 Mar 2005, 23:24:18 »
How do you list all the units in a mission without using a trigger

SILENTHUNTER
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:List Units
« Reply #1 on: 14 Mar 2005, 00:58:30 »
Well, you just look at the mission in the misson editor and write them all down.
Plenty of reviewed ArmA missions for you to play

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:List Units
« Reply #2 on: 14 Mar 2005, 01:06:50 »
 ;D


Planck
I know a little about a lot, and a lot about a little.

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:List Units
« Reply #3 on: 14 Mar 2005, 20:58:35 »
Quote
Well, you just look at the mission in the misson editor and write them all down.

You know what i mean  ;D

SILENTHUNTER
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:List Units
« Reply #4 on: 14 Mar 2005, 21:04:09 »
I think what MacGuba means is, there is no other way to do it.

I can't think of one either.


Planck
I know a little about a lot, and a lot about a little.

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:List Units
« Reply #5 on: 14 Mar 2005, 21:27:23 »
The only shortcut would be for named groups:

_arrayofallmyunits = [thisunit] + [thatunit] + ... + Units thisgroup + Units thatgroup + ...

But it's hardly earth-shattering.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:List Units
« Reply #6 on: 14 Mar 2005, 21:54:30 »
if your reason for not using a trigger is because of cpu strain, then simply have it

a) just run once
b) if required to run more than once but not at the usual looping speed of a trigger, then activate, deactivate it by having a script state a boolean as true or false

if you only need it to run once, but not immediately, then set its countdown timer


if its a list of all players you need, then you could go down the route of using coc network services
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123