Started by
rex1234555
on
Topic category: Help with MCreator software
Hi! so i cant figure how to make a procedure check if a variable is true
for more context I'm trying to make it where when you talk to a entitle it sets a variable to true and if you talk to them again it will open up a different GUI can someone help? i will really appreciate it Thanks in advance
if get logic local "example" = true
do .....
You could just do: if get logic local example
do ............
but doing it in the first way makes it easier if you want to change it to check if it's false in the future, or copy paste it and just change the true to false to check if it's false somewhere else in the procedure
alright ill try that thanks
one more question will this work for global variables?
Yes
Thanks
You're welcome