I need to get the default rotation of a SkBee structure, my code:
now, if I use it for the first time, it indeed provides me with the correct rotation, however, the next time, it remembers the rotation and doesn't use the first one
I've tried to `set rotation of structure {_s} to none` according to the docs but it doesn't work. Any idea why?
Code:
on load:
set {_s} to structure named "str"
set {_l1} to location(-24,61,-285, world "world")
set {_l2} to location(-19,56,-269, world "world")
fill structure {_s} between {_l1} and {_l2}
save structure {_s}
now, if I use it for the first time, it indeed provides me with the correct rotation, however, the next time, it remembers the rotation and doesn't use the first one
Code:
on command "first":
set {_s} to structure named "str"
set rotation of structure {_s} to clockwise 90
place structure {_s} at target block of player #is rotated
on command "second":
set {_s} to structure named "str"
place structure {_s} at target block of player #is rotated too! (it shouldn't be)
I've tried to `set rotation of structure {_s} to none` according to the docs but it doesn't work. Any idea why?