Solved Anyone know why this doesn't work?

  • 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.

_BraydenKing

Member
May 12, 2021
13
0
1
23
Code:
every 5 seconds:
    loop all players:
        drop 1 wheat 0.8 meters above {placedgenerators::%loop-player's uuid%::wheatgen::*}

The variable is a list with multiple locations. There are no errors on reload and just doesn't drop the wheat.
 
The skript works (tested it), but the variable is prob. empty.

Example to put locations in the variable:
Code:
command /test:
    trigger:
        add player's location to {placedgenerators::%player's uuid%::wheatgen::*}
 
Not exactly what I needed but thanks for the help. I’m not trying to drop the wheat at the location of the player, instead dropping it at a specific location that is in the variable. I’ve did multiple tests and I know that the list variable is set.
 
than just change "player's location" to the location lmao.
Expected you would be able to realise that.

an example of a correct location:
Code:
set {_location} to location(1.5, -1.5, 1.5, world "world", -90, -0)
 
Last edited:
Thank you, but I found out what the problem was. The variable was a location as a text and not an actual location.
 
Status
Not open for further replies.