Home   Help Search Login Register  

Author Topic: How to place units from a group where I want ?  (Read 925 times)

0 Members and 2 Guests are viewing this topic.

bdfy1

  • Guest
How to place units from a group where I want ?
« on: 17 Apr 2005, 20:01:28 »
There are dsome options n editor when placing new unit: None, In formation, In cargo... When 'In formation' is selected units appear in exact formation  no matter how I placed them in the editor :( Ok, let's select None. Units appear just where I placed them but immidiatly start running back to leader ( he is just couple dozens meters away). What do you usaully do  in this case?
Place them in editor  as you want and then dostop foreach units? But will they fight correctly after this?
Place them in formation and then  gave them orders ( domove ) to set into exact position ?
Setpos and then doStop ?
I'm just a newb in OFP editing - tat's why I'm interested in such an easy question  :)

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:How to place units from a group where I want ?
« Reply #1 on: 17 Apr 2005, 20:04:49 »
Quote
Place them in editor  as you want and then dostop foreach units?
Yes
Quote
But will they fight correctly after this?
Yes


Instead of putting a doStop in the init field of each unit put the following in the init field of one of them

{doStop _x} forEach units group this
« Last Edit: 17 Apr 2005, 20:07:15 by THobson »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to place units from a group where I want ?
« Reply #2 on: 18 Apr 2005, 16:25:41 »
Also read up on disableAI commands in the online command reference in the editors depot.
Plenty of reviewed ArmA missions for you to play