Home   Help Search Login Register  

Author Topic: Moving units to a specific set of co/ords  (Read 446 times)

0 Members and 1 Guest are viewing this topic.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Moving units to a specific set of co/ords
« on: 14 Sep 2003, 18:50:46 »
how do i make it so that i can have a unit at a specific set of co/ords (which i'd get by using the "camera.sqs" thingy

Thanks in advance

Rubble_Maker

  • Guest
Re:Moving units to a specific set of co/ords
« Reply #1 on: 14 Sep 2003, 21:08:11 »
Use "setpos" command.

And dont post this here; this is the most basic stuff in the world!

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Moving units to a specific set of co/ords
« Reply #2 on: 14 Sep 2003, 22:26:37 »
well for me its advanced so :P

i know how to use the setpos to get a unit ata  certain height, but how exactly would i implement it to move to a set of co/ords

rubble......dont be so rude...........different people have different values of basic........you may find it basic but others may not

Rubble_Maker

  • Guest
Re:Moving units to a specific set of co/ords
« Reply #3 on: 15 Sep 2003, 11:26:11 »
You'd be fine asking this in General Scritping, trust me ;)

>i know how to use the setpos to get a unit ata  certain height, but how >exactly would i implement it to move to a set of co/ords

This depends on how you want to give the coords to the "setpos" command. If you want to use the camera, you need to copy and paste the coords from this text file (forgot the name). The format of setpos is

unit setpos [x,y,z]

The third coordinate should be zero if you want the thing to end up on the ground.