Home   Help Search Login Register  

Author Topic: units  (Read 795 times)

0 Members and 1 Guest are viewing this topic.

MiNtY

  • Guest
units
« on: 17 Mar 2003, 21:30:35 »
is there a way i can make units come out of no where useing a trigger? thxs
:toocool:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:units
« Reply #1 on: 17 Mar 2003, 22:17:39 »
Learn about the command createVehicle.    Start with the official and unofficial command reference guides in the Ed Depot then search the FAQ and the forum.

Your trigger will look something like this:-

Activation/Condition:   as you like
On Activation:     createVehicle blah blah
Plenty of reviewed ArmA missions for you to play

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:units
« Reply #2 on: 17 Mar 2003, 22:40:55 »
"SoldierWB" createunit [getpos gl1, west2, "westman2 = this", 1, "LIEUTENANT"]

this doesn't mean you should be lazy and not look in the com ref like macguba there suggested. it pays off  ;)

SoldierWB is the string name of a regular soldier.

getpos gl1 get's the position of a game logic named as gl1

west2 joins the unit in a group named west2

westman2=this names the created unit to westman2

1, can't remember wtf that ment

lieutenant makes the units rank lieutenant

m'kay  8)
Not all is lost.

Flapje

  • Guest
Re:units
« Reply #3 on: 18 Mar 2003, 19:08:31 »
maybe 1 is the skill level? you gotta be able to adjust that too, if you ask me...