Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: moving markers  (Read 713 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