Trouble with GUI Image Condition

Started by Shandural on

Topic category: Help with MCreator software

Last seen on 11:36, 29. May 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trouble with GUI Image Condition

I can't seem to get a condition working properly for an image component on gui's when checking for an advancement

I tried these 
https://cdn.discordapp.com/attachments/1144236526700601385/1220477138168315984/image.png?ex=660f14e9&is=65fc9fe9&hm=c53056da2eefb49ca5a7f8403cfcd06bdc2c5faf5a6b92a3058104a29aa3bee1&

https://cdn.discordapp.com/attachments/1144236526700601385/1220477559729553418/image.png?ex=660f154d&is=65fca04d&hm=698452eb8ffe433a153c07d6b7895801c91204a10fdc3cdc15a27c0b0574bc06&

and what I found is that both refuses to return false, putting return true outside the if block makes it well, return true. This makes me wonder if event/target entity is the one opening the gui, which is what I was able to target on the other elements. 

Last seen on 22:54, 28. May 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you found a solution to…
Tue, 04/30/2024 - 12:48

Have you found a solution to this problem?