Home   Help Search Login Register  

Author Topic: General Unit names?  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Offline ryankaplan

  • Members
  • *
  • yeah...
General Unit names?
« on: 15 Aug 2004, 12:02:02 »
i know all the land units are called "land" and if you want a put a trigger down which is only activated by land units (e.g a minefield) on the condition field you would put something like :    thislist == land select 0 (i have no idea, forgive me, i just saw it somewhere).

so my questions are:

1)what is the correct version of the snippet above?
2)is there any other general names like "air" or "Armour" or "infantry", if yes can you list all the ones you know please?

any help will be appreciated.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:General Unit names?
« Reply #1 on: 15 Aug 2004, 13:12:51 »
Look up the CfgVehicles list in the comref.  (Though I don't think its in the online version.)   Yes there are generic types in that list.

The usual version is something like

thislist countType "land" > 0

syntax not guaranteed.
Plenty of reviewed ArmA missions for you to play

Offline ryankaplan

  • Members
  • *
  • yeah...
Re:General Unit names?
« Reply #2 on: 15 Aug 2004, 15:11:32 »
ok. just for other people to know, some of these are:

land - very land vehicle and man.
air - all helicopters and planes
helicopter - helicopters
plane - su25, a10 and cessna
ship - ships
man -  all men including civies
landvehicle - cars and none armoured vehicles including trucks, humvee & brdm
Tank: or Tank - all tanks and apcs
APC - Apcs like m113 and bmp
Truck - all trucks and scud
Soldier - all soldiers excluding civilians
SoldierWB - all west soldiers
SoldierEB - all east soldiers
SoldierGB - all resistance soldiers (i think)
Civilian - all civils


and macguba? why do you always put "syntax not guaranteed" under your posts when you and i definetly know that they are right?
« Last Edit: 15 Aug 2004, 15:21:05 by ryankaplan »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:General Unit names?
« Reply #3 on: 15 Aug 2004, 15:38:48 »
Because my hit rate on the syntax actually being right is only about 75%.     ;D    Which makes mission editing a bit tedious sometimes.   ::)

Also, one of the things that makes me cross is people lifting an answer from the forum, dropping it straight into their mission and then complaining it doesn't work because they haven't bothered to check the comref or understand the command.     Forum answers at large are almost always fundamentally correct, but small mistakes of detail and syntax are extremely common.    Except there is no such thing as a "small" mistake in syntax - it's either right or it isn't.

And about 1 post in 1,000 I'm flat wrong.  ;)
« Last Edit: 15 Aug 2004, 15:39:57 by macguba »
Plenty of reviewed ArmA missions for you to play