Tags Used As Numerical Values
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?
|
maybe they have a delete[Level.?] somewhere in there I'm not sure
|
Did a global search, couldn't find an instance of that. The mystery deepens...
|
tagmax[] and tagmin[] are also available, in addition to tagvalue[].
|
All times are GMT -8. The time now is 12:22 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.