Entity coordinates problem

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

BoxMiners

Member
Jul 19, 2022
47
0
6
18
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


upload_2022-10-3_19-37-34.png
 
Status
Not open for further replies.