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
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old April 3rd, 2013, 04:47 PM
Thanks Mathias! That got the Add Expertise message instead of ????? displaying.

Some progress made, but a new issue.

I've added the following eval script to the Skill component.
Code:
<!-- set the appropriate candidate expression -->
    <eval index="4" phase="Final" priority="1000" name="aoeHelp Expr">
      <![CDATA[
      var myId as string
      myId = tagids[SkillGen.sk?," & "]
      
      call SetAoEExpr
      ]]></eval>
I've also created the following prodecure.
Code:
<!-- Script used to set up AoE selection
  -->
  <procedure id="SetAoEExpr" context="pick"><![CDATA[
    
    ~set up our tag expression for selecting appropriate specialty
    var expr as string
    var myId as string

    expr = "component.SkillAoE & "

    expr &= myId

    gizmo.childfound[AoEHelp].field[aoeAoEExpr].text = expr
    ]]></procedure>
and that results in this error message for each Skill on the hero.
Quote:
Attempt to access non-existent containing entity from script
Location: Procedure 'SetAoEExpr' near line 11
When the chooser is selected, all Areas of Expertise are available instead of limiting by the expression.

Thoughts?
TCArknight is offline   #11 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 02:18 AM.


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