#Make Armorstand Head Acctully Rotate Where It Looks
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Try removing the [0]s from that command, just set the Pose.Head to the Rotation. It’s trying to set the 0th element of an array which does not exist, so you need to either copy the whole array (to make it exist) or set it to a blank array (0,0,0) and then change the 0th element after
ok, it did do something at least but its not exactly how i was intending it to behave yet...
why is it not possible to put a number into the Pose.Head[]?
The command is still wrong. Remove all the square brackets: execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head set from entity @s Rotation
Or you may want to try this: data modify entity @e[tag=turret, type=minecraft:armor_stand] Pose.Head set value [0f,0f,0f] execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head[0] set from entity @s Rotation[0] execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head[1] set from entity @s Rotation[1]
i tested both and both didn´t result in the wanted behavior
i needed to modify the first command to what is seen on the screenshot because as it was before, it contained mulitple target selectors
<@&1166082198152159386> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
you need to have the data in the pose initially. in the summoning command, write {Pose:{Head:[0.00001f,0.00001f,0.00001f]}}
or here 0.00001f
for some reason armor stands dont like taking data merges for poses unless they already have some data in there, yeah
why are your codeblocks so nice
or rather sila explained why but i think its stupid :P
plugin on Vencord
ah
and also keep [0] at Pose.Head[0]
ohh ok that definitely wasn't something i knew before, thank you!
yeah np, make sure they also cant set it to 0 (if they try set it to 0.001 or similar instead)
works!
yay!
I'll go ahead and close it manually
better in summon
Too many tags :P