Variable can't be used as location

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

Broken

New Member
Jun 29, 2023
6
0
1
14
Hello, I have put some values in variables and would like to summon a mob at that location:
set {_l} to location at {_x}, y of player, {_z}, world of player
spawn arg-1 at {_l}
But the error sais:
Variables cannot be used here.
Anyone who knows what I could change to fix this?
 
The location function allowes you to provide a world within it so like:
code_language.skript:
set {_l} to location at ({_x}, (y of player), {_z}, (world of player))
please mark as solved if youre issue has been solved
 
The location function allowes you to provide a world within it so like:
code_language.skript:
set {_l} to location at ({_x}, (y of player), {_z}, (world of player))
please mark as solved if youre issue has been solved
This is probable the most stupid question but where and how to mark as solved?