- Jan 20, 2018
- 1,501
- 108
- 63
- 21
Skript Version: 2.2-dev29
Skript Author: Bensku
Minecraft Version: 1.12
---
Full Code:
Errors on Reload:
none
Other Useful Info:
I am trying to change a npc's yaw and pitch, but whatever I try, it doesn't work.
Addons using (including versions):
Skellett (1.9.6b), SkQuery (3.21.4), WildSkript (1.9), skRayFall (1.9.10)
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
I tried using
instead of
Skript Author: Bensku
Minecraft Version: 1.12
---
Full Code:
code_language.skript:
command /npc2:
trigger:
set {_n} to a npc named "test" and entity type "PLAYER"
spawn npc {_n} at location of player
loop 50 times:
set yaw of {_n} to yaw of player
set pitch of {_n} to pitch of player
wait 0.1 second
message "done"
Errors on Reload:
none
Other Useful Info:
I am trying to change a npc's yaw and pitch, but whatever I try, it doesn't work.
Addons using (including versions):
Skellett (1.9.6b), SkQuery (3.21.4), WildSkript (1.9), skRayFall (1.9.10)
Troubleshooting:
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it?
I tried using
code_language.skript:
set yaw of entity of npc {_n} to yaw of player
code_language.skript:
set yaw of {_n} to yaw of player