Home   Help Search Login Register  

Author Topic: All to marker  (Read 426 times)

0 Members and 2 Guests are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
All to marker
« on: 28 Oct 2004, 03:51:25 »
hey
how do I get all the east units in a mission to move to a certain marker on the map.
thanks/cheers

Dubieman

  • Guest
Re:All to marker
« Reply #1 on: 28 Oct 2004, 05:36:46 »
Prolly get an array of all east units and use a domove (getpos marker). Though I can't help, you after that, seems I'm havin the same trouble with some groups. :P

Offline Blanco

  • Former Staff
  • ****
Re:All to marker
« Reply #2 on: 28 Oct 2004, 07:03:06 »
try this :

Place a trigger covering the whole map with these properties :


Quote
Activation : EAST
Onactivation : East_units = thislist

Then place your marker and name it. (eg : M1)

Then run this code in a trigger or script :

Quote
"_x doMove getmarkerpos "M1"" ForEach East_units

I'm not sure about the "" tho...


 
« Last Edit: 28 Oct 2004, 07:03:26 by Blanco »
Search or search or search before you ask.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:All to marker
« Reply #3 on: 28 Oct 2004, 11:35:37 »
You can use curly brackets { } instead of " " when the game gets confused by too many quotes.
Plenty of reviewed ArmA missions for you to play