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: get name  (Read 621 times)

0 Members and 1 Guest are viewing this topic.

Nedal

  • Guest
get name
« on: 14 Feb 2004, 17:22:40 »
hi have a random script wich shoses onestart point  (startpoints are gamelogic markers)

now i want a message wich says wich marker is shoosen.
i want the name of the marker (name filed) in the message.
have no idiea how to make it
is there something like getname

Code: [Select]

StartingLocation = startingLocations Select Random _totalLocations;
PublicVariable "StartingLocation"




#Placepos

   _destination = GetPos StartingLocation
   _ort = name StartingLocation
   S1 SetPos _destination
   S2 SetPos _destination


#messages
player sidechat(format["%1",_ort])

but instead if getting in the message the text in the name field of the marker, il get "Milos Bratrunek"  and that just does not exists in any of my scripts   lol     i am confused
« Last Edit: 14 Feb 2004, 17:44:08 by Nedal »

Offline rhysduk

  • Former Staff
  • ****
Re:get name
« Reply #1 on: 15 Feb 2004, 19:03:32 »
Has this got anything to do with Sound and Cutscenes?
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)