Jump to content

Get location in script


cp702

Recommended Posts

I'm trying to write a script for which I need to know the player's location, or at least which island they are on. How do I get it in SHDN? (this is especially aimed at Sam)

Link to comment
Share on other sites

You can get the street and zone names with this:

World.GetStreetName(Player.Character.Position);



World.GetZoneName(Player.Character.Position);

You could use the zone name one to determine what island the player is on.

You are using the WRONG right theme!

[ WIPs | Donate | 🌌 Join Mod Multiverse!]
Flashing LED lightbar in British configuration

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...