Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Class Special Ability Help (http://forums.wolflair.com/showthread.php?t=58502)

furby076 May 26th, 2017 12:20 PM

Class Special Ability Help
 
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

ShadowChemosh May 26th, 2017 01:12 PM

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

Then go to "Develop->Floating Info Windows->Show Debug Output". Then you can see the output of the "debug" info in the window.

furby076 May 26th, 2017 02:50 PM

The debug showed

IN
active
tag found 1

ShadowChemosh May 26th, 2017 03:17 PM

Quote:

Originally Posted by furby076 (Post 250582)
The debug showed

IN
active
tag found 1

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?

furby076 May 26th, 2017 04:14 PM

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


All times are GMT -8. The time now is 03:28 PM.

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