Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit

Notices

Reply
 
Thread Tools Display Modes
sincla
Member
 
Join Date: Aug 2014
Posts: 52

Old September 5th, 2014, 06:03 PM
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.
sincla is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 5th, 2014, 06:14 PM
if more than one is assigned it will randomly pick one if you do tagvalue[Level.?]

I found that out the hard way once.
AndrewD2 is offline   #2 Reply With Quote
sincla
Member
 
Join Date: Aug 2014
Posts: 52

Old September 5th, 2014, 07:01 PM
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?
sincla is offline   #3 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old September 5th, 2014, 07:19 PM
maybe they have a delete[Level.?] somewhere in there I'm not sure
AndrewD2 is offline   #4 Reply With Quote
sincla
Member
 
Join Date: Aug 2014
Posts: 52

Old September 5th, 2014, 07:24 PM
Did a global search, couldn't find an instance of that. The mystery deepens...
sincla is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,019

Old September 11th, 2014, 09:57 AM
tagmax[] and tagmin[] are also available, in addition to tagvalue[].
Mathias is offline   #6 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:04 AM.


Powered by vBulletin® - Copyright ©2000 - 2022, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.