Can't make player face certain direction.

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

83y

New Member
Nov 7, 2019
8
0
1
19
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.
 
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.
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.
 
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:
on any movement:
    if {tutorial::%player%} is true:
        cancel event
command /setloc:
    trigger:
        set {tutorialLocation} to player's location
This is just an example.
 
Status
Not open for further replies.