Solved Detect location of place a banner

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

    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.

Aralwen

Active Member
May 26, 2017
164
14
18
Hello guys,
I try to detect the position of place a banner, the problem is that it does not work.

code_language.skript:
on place of banner:
    if {Location} is event-location:
        broadcast "&cTest"
      
command /locset:
    trigger:
        set {Location} to location of target block

A idea ? @Donut :emoji_astonished:
 
What doesn't work exactly? Did you actually try to debug (broadcast) the variable and the event-location to see if they're the same?
 
What doesn't work exactly? Did you actually try to debug (broadcast) the variable and the event-location to see if they're the same?
What does not work is that it does nothing.
Yes i have try.

With other blocks (on place stone) for example, it's work but with banner it doesn't work ... :/
 
What does not work is that it does nothing.
Yes i have try.

With other blocks (on place stone) for example, it's work but with banner it doesn't work ... :/
Might be an aliases problem, try using "standing banner" instead of just banner.
 
Try changing the position of "event-location":
code_language.skript:
if event-location is {Location}:
 
Try changing the position of "event-location":
code_language.skript:
if event-location is {Location}:
Don't work :/
But, I found my worry the banner has "two block": It is therefore necessary to define a block higher to be able to put it in the desired place

Thank's all!
Solved
 
Status
Not open for further replies.