Jump to content

Recommended Posts

Posted

hi, sorry for my bad english

is there any script to detect player location

something like this :

 

Debug.MessageBox("Hello player, your location is in " +your_location)

 

if you in Sanctuary Hills, the Message will out like this :

"Hello player, your location is in Sanctuary Hills"

 

is script like that exist?

Posted

To show the name, you need the F4SE function getname.

 

example only:

 

String locName = Game.GetPlayer().GetCurrentLocation().GetName()
 
if locName != ""
    debug.messageBox("Hello player, your location is in " +locName)
else
    debug.messageBox("Hello player, this location has no name assigned to it.")
end
Posted
  On 5/20/2018 at 1:15 PM, Rasikko said:

 

To show the name, you need the F4SE function getname.

 

example only:

String locName = Game.GetPlayer().GetCurrentLocation().GetName()
 
if locName != ""
    debug.messageBox("Hello player, your location is in " +locName)
else
    debug.messageBox("Hello player, this location has no name assigned to it.")
end

ah thanks for reply,

i like to give you kudo,

but seems i have give you one, haha

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...