1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Set world spawn

Discussion in 'Skript' started by Ventura11, May 3, 2020.

Thread Status:
Not open for further replies.
  1. Ventura11

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    Code (Text):
    1. Every 1 second:
    2.     set the world spawn point to the player location
    What's the mistake?
    Can you help me?
     
  2. Abdera7mane

    Abdera7mane Active Member

    Joined:
    Aug 18, 2019
    Messages:
    56
    Likes Received:
    7
    you have to specify the world
    Code (Text):
    1. set the spawn point of "world_name" to the player's location
    also why setting the world spawn location every second ?
     
  3. CoreTech

    CoreTech New Member

    Joined:
    Aug 30, 2019
    Messages:
    7
    Likes Received:
    0
    Probably for a bot to a specific location or something.
     
  4. Ventura11

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    Point the compass at the player.
    [​IMG]
     
  5. Abdera7mane

    Abdera7mane Active Member

    Joined:
    Aug 18, 2019
    Messages:
    56
    Likes Received:
    7
    well there is a compass target expression and you can change its value for players, no need to update the world spawn point.
    here is the link to the documentation: https://docs.skunity.com/syntax/search/id:3940
     
  6. Ventura11

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    Does not work.
    [​IMG]
     
  7. Abdera7mane

    Abdera7mane Active Member

    Joined:
    Aug 18, 2019
    Messages:
    56
    Likes Received:
    7
    you just copy pasted the example of the documentaion, ofc it doesn't work since you haven't edited the code to match your need also {compass::target::*} doesn't contain anything since you haven't created this list yet.
     
  8. Ventura11

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    [​IMG]
    What might be the problem?
     
  9. Abdera7mane

    Abdera7mane Active Member

    Joined:
    Aug 18, 2019
    Messages:
    56
    Likes Received:
    7
    the correct expressions are: {Player3}'s compass target and compass target of {Player3} you forgot the ' after the player variable.
     
    • Like Like x 1
  10. Ventura11

    Ventura11 Member

    Joined:
    Feb 6, 2019
    Messages:
    14
    Likes Received:
    0
    Thank you for helping me and taking the time to do this!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...