Home   Help Search Login Register  

Author Topic: Moving units  (Read 1406 times)

0 Members and 1 Guest are viewing this topic.

Offline swerecon

  • Members
  • *
Moving units
« on: 24 Sep 2007, 20:07:44 »
Need help with a script of moving units relevant to another unit.

i would like an marching/running platoon in exact position.

So far i have an platoon lined up with ; this setpos [(getpos chef select 0) +2, (getpos chef select 1) - 3] command. And for each soldier different values. looks great.

How to make them move and keep thier positions?
Using waypoint command and formations isnt good enough

Anyone?

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Moving units
« Reply #1 on: 24 Sep 2007, 20:34:50 »
i would like an marching/running platoon in exact position.

Like in a military parade, I assume. We'll that would be a miracle for ArmA  ;)

Offline swerecon

  • Members
  • *
Re: Moving units
« Reply #2 on: 24 Sep 2007, 20:50:12 »
Ok, so it would be that hard:)uuuuuuuups ::)

Thought it would be done in the same way i did, but with an moving boss. Ok, i tryied already but thought it would be possible.

Ok, no parade i guess :dunno:

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Moving units
« Reply #3 on: 24 Sep 2007, 21:03:14 »
Just for cutscenes or videos you may use an exact squence of switchmoves for many units at the same time, that would simulate that "military" parade, but this wouldn't be practical for real movements of troops.
In that case the units would not move by themselves, you would be "moving" or "animating" them all at the same time and heading in the same direction.

Offline swerecon

  • Members
  • *
Re: Moving units
« Reply #4 on: 25 Sep 2007, 07:42:31 »
As you understand iam a total noob to scripting :whistle:
 Isnt possible to use: unit_name domove position or unit_name dofollow leader_unit using the @ operator, which loops very fast.

Just wild thougts, would be damn cool to have some extra people marching around at base

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Moving units
« Reply #5 on: 25 Sep 2007, 08:42:43 »
Nope, you will not get your military parade effect with move, doMove or doFollow. You will only get units running or walking around the base, but far away of keeping any perfect formation while moving.