Solved how set block at world and 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!

Status
Not open for further replies.
Feb 24, 2017
191
7
0
23
foroendertheth.foroactivo.com
I whant to set a block in a world but with a specific location how I do that
[doublepost=1497121807,1497113447][/doublepost]This is the code with the location but how I set the world were I whant to thath block be set
code_language.skript:
    set block at {cw.templo.a} to locked chests
    set block at {cw.templo.b} to locked chests
    set block at {cw.templo.c} to locked chests
    set block at {cw.templo.d} to locked chests
    set block at {cw.templo.e} to locked chests
    set block at {cw.templo.f} to locked chests
    set block at {cw.templo.g} to locked chests
    set block at {cw.templo.h} to locked chests
 
Use this

code_language.skript:
command /setloc:
    trigger:
         set {loc} to location of targted block

#You need to do this in the world you want
 
example:
code_language.skript:
set {_bla} to location at (10, 100, 10) in world "world"
set {_t} to location of target block in world "World"
2017-06-10_15.31.13.png

[doublepost=1497123163,1497123109][/doublepost]
ok sorry if just I change now world to the name of my world very sorry
[doublepost=1497123585][/doublepost]
example:
code_language.skript:
set {_bla} to location at (10, 100, 10) in world "world"
set {_t} to location of target block in world "World"
not work for whant I whant to do :emoji_frowning:. but thanks :emoji_grinning:
 
Status
Not open for further replies.