Home   Help Search Login Register  

Author Topic: Moving units without waypoints  (Read 1260 times)

0 Members and 2 Guests are viewing this topic.

Offline Fragorl

  • Coding Team
  • Former Staff
  • ****
Re:Moving units without waypoints
« Reply #15 on: 05 Dec 2004, 10:40:02 »
Are you copying positions from mission.sqm? as Planck says, they are out of order.

I think you have to be in cadetmode to see commandmove objectives in your hud.

As for the main script, domove should work fine provided an object that can move (like a soldier or crewed tank) is called, not a string or anything else.

So
Code: [Select]
;called as [testjeep] exec "waypoints.sqs"
_soldier = _this select 0
;same as: _soldier = TestJeep
_pos = "logic" createvehicle [wherever]
_soldier domove getpos _pos
;Other stuff

Ignore the quotes in mission.sqm as they are just misleading


Rocko Bonaparte

  • Guest
Re:Moving units without waypoints
« Reply #16 on: 07 Dec 2004, 05:06:31 »
Yeah somebody from the BIS forums told me the coordinates had to be swapped.  That fixed it.