Solved Cannot summon the object out of the world

  • 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 community!

    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.

Cowio

New Member
Aug 13, 2017
7
0
0
Skript Version:Newest
Skript Author:Me
Minecraft Version:1.8

---
Full Code:
Note: If the code is too large, feel free to use a pasting website (Pastebin or hastebin)
Note: If a variable is being set in another script, but not shown, please explain how they are being set


code_language.skript:
Variables:
    {Animation.x} = 0
    {Animation.y} = 0
    {Animation.z} = 0






command /anim:
    trigger:
        set {Animation.x} to the x coordinate of player
        set {Animation.y} to the y coordinate of player + 20
        set {Animation.z} to the y coordinate of player
        wait 1 tick
        make console execute command "summon ArmorStand %{Animation.x}% %{Animation.y}% %{Animation.z}%"

Errors on Reload:

code_language.skript:
No

Console Errors: (if applicable)

code_language.skript:
No

Other Useful Info:

Addons using (including versions):
Skript, SkQuery and skRayFall

Troubleshooting: When i use the command i created /anim it says in my console "Cannot summon object out of the world" but it's not out of the world the y coordinates is + 20 wich means the y coordinate isn't negative i just don't understand...

Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Searching on Google for a very long time
[doublepost=1522446831,1522445996][/doublepost]So i tried to Send "%{Animation.x}% %{Animation.y}% %{Animation.z}%" and it gave me a strange z coordinate and then i was like ohhh i put a y in the code ops
 
Status
Not open for further replies.