• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Equipment validation

ShadowChemosh not sure that will work for the custom wand gizmo, I am only seeing iwSpells.spCureLig1 as part of the custom wand mechanic. All this script does is check if I have a total of at least 30 Cure Light Wounds charges on wands. If not it notes that in the description. If you want I can send you the full item, not just this one eval script. Its still a work in progress but makes ensuring you have specific equipment on your characters a lot easier. (IE all have a handy haversack, once they have the fame for it)
 
ShadowChemosh not sure that will work for the custom wand gizmo, I am only seeing iwSpells.spCureLig1 as part of the custom wand mechanic. All this script does is check if I have a total of at least 30 Cure Light Wounds charges on wands. If not it notes that in the description. If you want I can send you the full item, not just this one eval script. Its still a work in progress but makes ensuring you have specific equipment on your characters a lot easier. (IE all have a handy haversack, once they have the fame for it)
I am 99% KnowSpell.? is an identity tag meaning HL is auto creating it on the component. But true I don't have access to 100% make sure.

Then still as mentioned use the thingid.? tagis check which is exactly like your logic but is faster and easier to read. So its good to note for future readers. A "compare" string will "work" but its not the best method.

This
Code:
if (compare(eachpick.idstring,"spCureLig1") = 0) then
and this
Code:
if (eachpick.tagis[thingid.spCureLig1) = 1) then
do the "exact" same logic check but the 2nd one is way easier for HL to work with.
 
Back
Top