Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MagicSN
Senior Member
 
Join Date: Nov 2012
Posts: 208

Old November 1st, 2014, 01:15 PM
I have weapons defined like this:

<thing id="wpUnarm" name="Unarmed Strike" description=" " compset="Melee" holdable="no">
<tag group="WepDamage" tag="1"/>
<tag group="WepCat" tag="wcSimple"/>
<tag group="WepProp" tag="Bludg"/>
<tag group="WepProp" tag="OffHand"/>
</thing>

and an Armory list like this:

<portal
id="arMelee"
style="tblNormal">
<table_dynamic
component="Gear"
showtemplate="arWpnPick"
choosetemplate="arWpnThing"
buytemplate="BuySizCash"
selltemplate="SellCash">
<list><![CDATA[
component.WeapMelee & !Hide.Weapon
]]></list>
<candidate inheritlist="yes"><![CDATA[
!Equipment.Natural & !component.MagicStaff & !User.HexbladeWp &!Helper.FeatHack
]]></candidate>
<description/>
<headertitle><![CDATA[
@text = "Melee Weapons"
]]></headertitle>
<additem><![CDATA[
@text = "Add New Melee Weapons"
]]></additem>
</table_dynamic>
</portal>

Now I want to make the display of some of the weapons based on if a specific Hero Tag is present (like Hero.IsSpecial). How can I do this?

I tried using

<containerreq phase="Initialize" priority="10">Hero.IsSpecial</containerreq>

in the weapon definition, but the effect I got was that - in this example the tag Hero.IsSpecial was present only if a special class (which is part of houserules) was at least of level 10 - when I leveled up the character to level 10 the weapon still was not there. Only when I leveled some more - or saved the character and reloaded - the weapon appeared. What am I doing wrong? Or is there a better way to do this?

Thanks in advance.

Best regards,
MagicSN
MagicSN is offline   #1 Reply With Quote
 


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 06:24 PM.


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