Home   Help Search Login Register  

Author Topic: moving markers  (Read 604 times)

0 Members and 1 Guest are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
moving markers
« on: 18 Mar 2005, 00:55:00 »
im trying to make a radio trigger that will make a marker move on the map to the position of a certain group, how would i do that.

ive tried in the trigg condition field.


mark1 setmarkerpos getpos grp1

but it dosent work.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:moving markers
« Reply #1 on: 18 Mar 2005, 01:23:30 »
Try:

"mark1" setMarkerPos (getPos leader grp1)

Markers names are strings, so mark1 has to be in quotes.  Groups do not have positions, but the leader of the group does have a position.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:moving markers
« Reply #2 on: 18 Mar 2005, 04:08:16 »
thanks
it works