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.

Rotate entity

Discussion in 'Skript' started by Flajakay, Jan 3, 2019.

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

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    Rotate the entity in the same direction as player.

    For example, the player turns himself to the right. At the same time, the entity turns itself to the right too.
    How can I do it?

    Version: 1.12.2
     
    #1 Flajakay, Jan 3, 2019
    Last edited: Jan 4, 2019
  2. Nouma zer

    Nouma zer New Member

    Joined:
    May 26, 2018
    Messages:
    5
    Likes Received:
    0
    I know that you can rotate an armor stand with adding an nbt tag named "Rotation", but idk if this thing is possible for all entities ¯\_(ツ)_/¯
     
  3. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    I think you can do that with skrayfall

    I think it was something like this:
    Code (Skript):
    1. change yaw of vehicle of player to yaw of player
    Edit: it’s Randomsk not SkRayfall
     
    #3 Runakai, Jan 4, 2019
    Last edited: Jan 4, 2019
  4. Flajakay

    Flajakay Active Member

    Joined:
    Jul 29, 2018
    Messages:
    55
    Likes Received:
    1
    Yes, but RandomSk doesn't work on 1.12.2.
     
  5. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,500
    Likes Received:
    107
    Medals:
    You can also just use teleport, it changes yaw / pitch as well
     
Thread Status:
Not open for further replies.

Share This Page

Loading...