Home   Help Search Login Register  

Author Topic: Need some help with setPos  (Read 929 times)

0 Members and 1 Guest are viewing this topic.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Need some help with setPos
« on: 16 Oct 2002, 23:21:57 »
Hi, does anyone know how to make an object "teleport" to the position of another object? I know how to teleport something to a specified pos on the map, but not to another object. Plz help me yall... thx  :)
« Last Edit: 16 Oct 2002, 23:33:10 by Wildebeest »
Weeee...

Kaliyuga

  • Guest
Re:Need some help with setPos
« Reply #1 on: 17 Oct 2002, 00:52:06 »
just use this syntax...


this setpos [getpos objectname select 0, getpos objectname select 1,0]

objectname is the name you designate in the editor for that unit

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Need some help with setPos
« Reply #2 on: 17 Oct 2002, 00:52:46 »
Try:

object1 setpos (getpos object2)

;)

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Need some help with setPos
« Reply #3 on: 17 Oct 2002, 11:49:07 »
Wow it works! Thx for the spells guys :wave:
Weeee...