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: renaming markers.  (Read 1902 times)

0 Members and 1 Guest are viewing this topic.

BrAinOfJ

  • Guest
renaming markers.
« on: 23 Jan 2006, 14:26:18 »
Hey guys,
I would like to know if i can rename markers in a script, more importantly.. how.

The idea is to create on the map ingame a marker over the top of a players position, with his/her name.

Any ideas ?

Offline XCess

  • Former Staff
  • ****
Re:renaming markers.
« Reply #1 on: 23 Jan 2006, 15:24:53 »
You cannot change the text of a marker, you can however switch whther a marker is visible with:

makerNamer setMarkerType "empty"

that will make it invisible. To change it back switch empty with one of the following:

"Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow", "Empty".

This way you can create multiple markers with different text but only show the marker you want to be shown at a certain time.

Also, use setMarkerPos (getPos player) to mark the player's position on the map with it. You will obviously need a loop to make sure it updates his position.