|
Fredyuk Newbie
Joined: 21 Dec 2004 Posts: 3
|
Posted: Tue Dec 21, 2004 10:05 am
Priority on triggers and buttons question. |
I have buttons setup that change depending on variables set from triggers (Gagues, ect....). Unfortunatly, the Buttons update BEFORE the trigger can change the variables the buttons use. Anyway to give the triggers higher priority than the buttons?
|
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Tue Dec 21, 2004 10:08 am |
just set the button name to %if(@variable, "blah","not blah")
? then the buttons will change with the variable |
|
|
|
Fredyuk Newbie
Joined: 21 Dec 2004 Posts: 3
|
Posted: Tue Dec 21, 2004 11:39 am |
It still doesnt work. It still waits until the second time the trigger fires to update the button text.
|
|
|
|
Fredyuk Newbie
Joined: 21 Dec 2004 Posts: 3
|
Posted: Tue Dec 21, 2004 12:00 pm |
never mind, i figured out another way around it. I realized it wasn't the trigger firing that changed it, it was each line of text in from the MUD. So, i changed my command prompt in the MUD to have a third line in it, which causes the Buttons to change at apparently the same time as the trigger fires off.
|
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Tue Dec 21, 2004 1:31 pm |
Or instead of ading a third line you just add the PROMPT option and remove the CR option.
|
|
|
|
|
|