I see theme:
How to create a WG region from player's location?
https://forums.skunity.com/threads/how-to-create-a-wg-region-from-players-location.4158/#post-13877
For some reason, the code given there does not work for some reason. Can help or tell how to change:
Output:
[19:54:16 ERROR]: Variables cannot be used here. (4.sk, line 37: create wg region "%arg 1%" between {_loc1} and {_loc2} in world of player')
Skript 2.2 (last) SharpSK 1.6.3(last) skLib, SkQuery, skRayFall, skUtilities, Skellett, Umbaska
How to create a WG region from player's location?
https://forums.skunity.com/threads/how-to-create-a-wg-region-from-players-location.4158/#post-13877
For some reason, the code given there does not work for some reason. Can help or tell how to change:
code_language.skript:
command /iwantaweregionof50blocks <text>:
trigger:
set {_loc1} to location of block at player
set {_loc2} to {_loc1}
add 25 to the x-coordinate of {_loc1}
add 25 to the y-coordinate of {_loc1}
add 25 to the z-coordinate of {_loc1}
add -25 to the x-coordinate of {_loc2}
add -25 to the y-coordinate of {_loc2}
add -25 to the z-coordinate of {_loc2}
create wg region "%arg 1%" between {_loc1} and {_loc2} in world of player
Output:
[19:54:16 ERROR]: Variables cannot be used here. (4.sk, line 37: create wg region "%arg 1%" between {_loc1} and {_loc2} in world of player')
Skript 2.2 (last) SharpSK 1.6.3(last) skLib, SkQuery, skRayFall, skUtilities, Skellett, Umbaska
Last edited: