Just a note about the syntax for the ! (negation) operator. It has to be enclosed in single quotes, like:
Parent.ShineyTestButton.Activated='!'Parent.Info.Visible |
Can I run counters?
Example: I have a label displayed on a window. Let's call it 'TotalLabel' If TotalLabel.Localtext is '0', then I will see a '0' on the window. How do I increment that by 1? Does "Parent.TotalLabel.Localtext=Parent.TotalLabel.Localtext + 1" work? Any existing windows out there I can look at for examples? |
Yes. Also see here.
|
HOW IN GODS NAME DO YOU GET A WORKING AND OR STATEMENT :( I give up! :confused::confused::confused::confused::(:(:(:(
|
As far as I found you can only ever do one operation at the same time, so you can't do any kind of nested statements including two comparisons. At least I gave up trying as well. So you need to do two separate comparisons.
|
Quote:
|
Oh no that works fine. Example:
y=(a == 10)Will be true for values of a = 5 or 10 and false for anything else. |
OK I was trying to do stuff like
Cond= a==10 || a==5 with that being said would this be a valid statment y=(a == 10) z=(a == 5) x=(COND ? true : false) COND=y || z And this? x=(COND ? true : false) COND=y || z y=(a == 10) z=(a == 5) trying to keep it all on one line for a change instead of pressing return 1000x |
Quote:
Quote:
|
All my code is normally done with line breaks but for this I just want to keep it on one line, plus I was just curious after trying for so long!!! thanks for the help.
|
I hope it's ok that I add code examples that I've made work. If you know something I don't in terms of having to be careful with /GameData.General.Time let me know.
Concatenation Code purpose: To concatenate the AA Experience string with square brackets, allowing e.g. AA Experience to be displayed in square brackets next to AA Points like so: "173 [43.5%]". Code example: Code:
<?xml version="1.0" encoding="utf-8"?> Code:
[100%]
Code note:
|
Pretty interesting that concatenating parenthesis in a string causes the game to crash, LOL. There might be a work around using like an ascii/unicode version of parenthesis instead, but not sure :)
|
All times are GMT -5. The time now is 02:11 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI