No, I didn't think you were annoyed by the way you formatted your text (though, thank you for the clarification)... I wanted to apologize b/c my friends have mentioned that when I get too focused on something, I tend to either ramble or overanalyze the situation & make a mess out of it (LOL), which can be irritating to others. A little of my history (& why I can understand script logic, but not write it well) is that I'm a "old school scripter", & most of my knowledge is spread between C+/++, C#, LUA, HTML/CSS, & the like. I've been coding longer than I care to admit (*cough* since the 90's, lol), so I can follow most script suggestions, since the formatting is similar. But since the syntax of each coding language has its own purpose (usually), it requires "relearning" coding for each, new language a person wants to use. Since I'm getting older, I don't have much interest in learning JS (though it does fascinate me), & I DO try to either figure things out on my own (via research, reverse engineering, or etc.), but sometimes I hit a wall. I know that you guys (the admins) on here are wonderful ppl, & are very good about helping others, but I feel as though there are others who need more help than I do, & so I feel bad anytime I have to ask for help... but sometimes I just need it (lol). Plus... even though I don't want to have to learn JS, I DO really enjoy learning "more ways to do one thing" (old school coder joke), & the suggestions I receive on this forum do just that!
There's nothing I can offer as thanks to all of the help you guys regularly offer (wish there was tho), other than "thanks" itself... so, again... thanks a MIL!!
P.S. The only way I know to show my appreciation to this forum is to offer sample projects to users of this forum, that demonstrate how to do various things I've incorporated into my own games (e.g. a lot of evented things, with custom graphics I've made, or similar). On that note, I'm about to finish an "Evented Projectile" sample project, which uses movement routes vs parallel processes, so that
numerous projectiles can be placed on a map without causing lag. I've been trying to figure out where to upload contribution projects; Could you suggest the best forum location to do that?
**Edit**
To clarify my use of bold (&/or colored) text, it's to make something stand out; such as in my post above. It was a rather long post, & if a person just wants to "skim" to my question, the bold-type & color change makes that stand out.
I also just tried your most recent suggestion & the HUD Maker still won't accept it. It won't run anything unless it's wrapped in a ${}... so your suggestion ends up looking like:
Code:
${var m = $gameParty.members()[0]; var o = m ? m.equips()[3] : null; o ? o.durability <= 20 : false}
... meaning the HUD is trying to run it like a script call, which has produced a critical error each time (which is why I've resorted to adding your suggestions, or some variation of them (lol), to a parallel CE up to this point).
I DID try toying with the icon durability script you gave me before... attempting to change out the "some" function for something else, like "value", to attempt producing a numerical value of the durability, but with no luck. I feel like the HUD won't accept a single line of various variables, but it'll run a function. Is there anything that can be done with the following script function to change it from a boolean to something that will print out the correct alphanumeric value if the condition is met?
JavaScript:
$gameParty.members()[0].armors().some(function(armor) { return armor.durability >= 0 && armor.durability <= 20; })
To something like.............. ??
Code:
$gameParty.members()[0].armors().value(function(armor) { return armor.durability < 0 ? "Unbreakable" : ""; })