Solved Rotation

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

bobby

Active Member
Jan 28, 2017
61
0
6
26
Skript: 2.2-Dev25
Mc version: 1.10.2

Would anyone know how to make a armorstand with the name "test" rotate around the armorstand "tester" at the radius of 2 and at the speed of .5 for maybe 2 seconds? Please I really need this any help will be appreciated!
 
Using nbt data is the only way right now unless you teleport them with different yaw's.
 
That only spins them around i want them to rotate in a circle around one armorstand
work out how to get the positions around a circle and teleport the armor stands around them?
 
That only spins them around i want them to rotate in a circle around one armorstand
is do example
[doublepost=1491830932,1491830830][/doublepost]
code_language.skript:
command spin:
  trigger:
    set {_S} to 0
    while {_s} is not 180:
        add 1 to {_s}
        add "{Rotation:%{_s}%f}" to nbt of %entity%
 
  • Like
Reactions: bobby
is do example
[doublepost=1491830932,1491830830][/doublepost]
code_language.skript:
command spin:
  trigger:
    set {_S} to 0
    while {_s} is not 180:
        add 1 to {_s}
        add "{Rotation:%{_s}%f}" to nbt of %entity%
Thanks!