Solved How do i set a variable to a block at a certian locaction

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

Bonnie20402

New Member
Feb 19, 2019
8
0
1
19
This is what i mean
Is it possible to set a variable to a block at a locaction

example

a pumpkin is placed at 30 30 30
i want to do
set pumpkinlocaction to coord
set pumpkinblokc to pumpkin block at 30 30 30

but idk how
i've searched the documentation but dinin't found anything
sorry for any spelling errors
thanks in advance!
 
This is what i mean
Is it possible to set a variable to a block at a locaction

example

a pumpkin is placed at 30 30 30
i want to do
set pumpkinlocaction to coord
set pumpkinblokc to pumpkin block at 30 30 30

but idk how
i've searched the documentation but dinin't found anything
sorry for any spelling errors
thanks in advance!


Code:
set {_block} to block at location at 0, 0, 0 in world "world"
 
  • Like
Reactions: Bonnie20402
I can't deleteit, i tried:
Code:
command /asd:
    trigger:
        set {_LDoor} to block at location at 1690, 5, -1413 in world "fnaf"
command /asdf11:
    trigger:
        delete {_LDoor}
 
So how can i make it to delete the block?
[doublepost=1550580404,1550579722][/doublepost]nevermind, just solved it by forcing the console to do setblock 1690 5 -1414 air instead lol
ty for the help anyways
 
Status
Not open for further replies.