Home   Help Search Login Register  

Author Topic: Uh jim? I Think We're Lost...  (Read 1155 times)

0 Members and 3 Guests are viewing this topic.

Echo Commando

  • Guest
Uh jim? I Think We're Lost...
« on: 27 Aug 2003, 18:50:07 »
 ;D Hi all...
I was just wondering... in the CTI maps you have a lil marker following you where ever you move, Does anyone know how i could do that... Heres the script i made (It doesn't work  :()

~2
marke1 setpos getpos east1


(East1 being the person i want the marker to follow...
And Marke1 Being the marker i wanted to follow him...)

Help would be nice... Just remember I AM MR. COMMANDO A No0B IN NEED!!
:gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help::gunman: :help:

PheliCan

  • Guest
Re:Uh jim? I Think We're Lost...
« Reply #1 on: 29 Aug 2003, 00:01:22 »
It should be like this:

~2
marke1 setMarkerPos (getPos east1)

Don't know if you have to use the (), but it doesn't hurt... ;-)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Uh jim? I Think We're Lost...
« Reply #2 on: 29 Aug 2003, 04:31:35 »
Marker names should always be in quotes ;)

Also, if you want the marker to keep following the unit, you'd need to use a loop, like this:

#loop
~1
"marker1" setmarkerpos (getpos east1)
goto "loop"