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?