I'm pretty of sure I'm not the first one to ask this question, but I couldn't find the answer for this specific predicament on the forum - sorry for the redundancy.
I'm trying to change the menu text of a response menu linked to a custom panel(which stays active but disabled if conditions if false), depending on a given Variable.
For example, lua:
Code: Select all
if (Variable["varSmart"] < 2) then (insertAWayToAccessMenuTextHere) = "you're not smart enough"
Code: Select all
Variable["varSmart"] >= 2
Another fix I had in mind was to use a text Variable in the menu text, and use something like
Code: Select all
if (Variable["varSmart"] < 2) then Variable["text Variable"] = "You're not smart enough"
Anyway, that's my little issue right now ^^
Thank you