• 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

Tags Used As Numerical Values

sincla

Well-known member
Hello All,

Quick question. Consider the case where you have a tag group that is used solely to keep track of numbers, like for example Level.1, Level.2,....Level.20, where you want to use the tag id as a value. If more than one of these tags is assigned to the same pick/container, do they both get applied, so that a single Hero for example can be tagged as both Level.1 and Level.2, or does the HL engine know in this case to only use the most recently assigned tag?

And a related question, when the same tag is assigned to the same pick/container but from two different scripts, this doesn't cause any kind of conflict, does it? It is still considered to have just one unique tag of that group and id?

Thanks.
 
if more than one is assigned it will randomly pick one if you do tagvalue[Level.?]

I found that out the hard way once.
 
Damn. So how do you control leveling up? The 4e files (I know you haven't worked with them) have in their eval script to constantly reassess the amount of XP, look that up in an array, and assign the Level.? tag. I don't see any code deleting the previously assigned tag. How does this not result in screw-ups?
 
Back
Top