Home   Help Search Login Register  

Author Topic: get name  (Read 366 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)