The problem is this: I have a variable set to the location of a loop-entity, and then, I set the yaw of the variable to a number and the pitch of the variable also to a number but the error message says that the ladder is not a number. If I didn't explain well, let's hope my code helps! Thanks
CODE:
ERROR:
[doublepost=1503169120,1503103912][/doublepost]That error above is the same error it shows with the yaw just without the pitch but with yaw.
Bump
CODE:
code_language.skript:
command /villagerlocation:
permission: villager.location
trigger:
loop all entities in radius of 3 around player's location:
if loop-entity is a villager:
set {villager1} to loop-entity
set yaw of {villager1.location} to 0
set pitch of {villager1.location} to 0
set {villager1.location} to location of loop-entity
every 1 tick in "world":
teleport {villager1} to {villagr1.location}
ERROR:
code_language.skript:
[17:48:34 ERROR]: pitch of %player% can't be set to 0 because the latter is not a number (scripts.sk, line 20: set pitch of {villager1.location} to 0')
Bump