Member
Join Date: Oct 2010
Posts: 74
|
I need help to get this to work. The ability shows up within the "in play" section. That works fine. When I check the box, i am looking to get the * (asteriks) to show by the skill to show it has advantage.
Anyone know what's missing? ~if we're curently focusing, forward a tag to the hero. ~note the timing is just before First/500, which is when the containerreqs on the focus powers will look for this tag if (field[abilActive].value <> 0) then perform hero.childfound[skIntim].assign[Helper.Advantage] endif |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
I would recommend adding debug logic to see why the script is not working:
Code:
debug "IN" if (field[abilActive].value <> 0) then debug "active" perform hero.childfound[skIntim].assign[Helper.Advantage] debug "tag found " & hero.childfound[skIntim].tagis[Helper.Advantage] endif Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Member
Join Date: Oct 2010
Posts: 74
|
The debug showed
IN active tag found 1 |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Great. This tells you what then? That the script you wrote is working.
Are you sure that tag causes the * to appear and not a situational note? Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#4 |
Member
Join Date: Oct 2010
Posts: 74
|
FIgured it out!!!! Thank you supreme sneak! Just will remove the language but w/e
if (field[abilActive].value <> 0) then #situational[hero.child[skInsight], "Advantage on Insight", field[thingname].text] endif |
#5 |
|
|