Home   Help Search Login Register  

Author Topic: DoMove problem  (Read 943 times)

0 Members and 1 Guest are viewing this topic.

Offline jens198

  • Former Staff
  • ****
  • Falcon 3.0 forever!
DoMove problem
« on: 27 Sep 2002, 22:49:42 »
Hi guys,

In the helo "uh60" are four guys. m1(player) + m2 are in one group. m3+m4 are seperate soldiers. Then the helo reaches the waypoint where the troops are embarked "embark.sqs" (see below) is executed.
My intention is to make m3 and m4 to run to the bushes  b1+b2 for cover.
Both get of the helo but don't move any further.

Any ideas?

Jens

P.S. My first scripting moves. The rescue of Devon Jones (shot down in Desert Storm) will be the background of this mission. BTW does anyone have a hint on a good site with background-infos on this event?
=====================================
;embark.sqs
uh60 setbehaviour "safe"
uh60 setspeedmode "limited"
uh60 flyinheight 25
uh60 land "getout"

m3 doMove getPos b1
m4 doMove getPos b2

Try to look unimportant; the enemy may be low on ammo and not want to waste a bullet on you!

Rodd

  • Guest
Re:DoMove problem
« Reply #1 on: 28 Sep 2002, 05:13:09 »
Maybe there is not enough time for them to react, and they ignore the command because they are sitting comfortably in a chopper?

(I don't know, I am away from my OFP-installation  :P).

lilmat

  • Guest
Re:DoMove problem
« Reply #2 on: 04 Oct 2002, 19:02:57 »
Try this !
Get the units to a marker pos
create a marker, named "m1"
unit setpos getposmarker"m1"
this should work!