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.

Can't make player face certain direction.

Discussion in 'Skript' started by 83y, Mar 18, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. 83y

    83y New Member

    Joined:
    Nov 7, 2019
    Messages:
    8
    Likes Received:
    0
    This is no way on how to make a player face a certain direction on the forums. I want to make a player face a certain direction when i teleport them. (this is for my /tutorial) I have asked in discord, nobody knows the answer.
     
  2. Jordan

    Jordan Member

    Joined:
    Jan 25, 2017
    Messages:
    190
    Likes Received:
    12
    You want to be looking at the pitch and yaw my dude, this will allow you to make the player look in a certain direction and also up and down.
     
  3. Baezor

    Baezor Member

    Joined:
    Jan 3, 2020
    Messages:
    14
    Likes Received:
    6
    You can also set the location in-game and look the direction you want them to look. Then just stop them from looking around.
    Code (Text):
    1. on any movement:
    2.     if {tutorial::%player%} is true:
    3.         cancel event
    4. command /setloc:
    5.     trigger:
    6.         set {tutorialLocation} to player's location
    This is just an example.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...