Code:
command /testrush:
trigger:
set {rushtest.%player%} to true
send "&aTEST"
set {rushtest} to location -48, 4, -19
every 1 second:
loop all players in radius 10 of {rushtest}:
if {rushtest.%loop-player%} is set:
spawn a zombie at location -57, 4, -59 in world "doors1"
set {_x} to player's last summoned entity's x-coordinate
set {_y} to player's last summoned entity's y-coordinate
set {_z} to player's last summoned entity's z-coordinate
send "%{_x}%, %{_y}%, %{_z}%" to loop-player
delete {rushtest.%loop-player%}
So i ran into a problem while making a horror map. I don't know how to set the coordinates of an entity the errors this. I couldnt find other fixes on other platforms i have looked