RaceGroup Question
I am working on some custom dragons and dragon abilities for an ongoing Pathfinder 1st Edition campaign, and I seem to be getting stuck checking some of the tags on the dragons.
For one ability, I'm want to check if the dragon has the Chromatic Dragon Race Group tag, so I put it inside the following if, then check. However, the If check doesn't seem to be working. When I take the changes I want to make outside of this loop, they work just fine. if (tagis[RaceGroup.ChromaDrag] <> 0) then endif The same is occurring for another ability that I want to make changes based upon the DragonAge tag. if (tagis[DragonAge.VeryYoung] <> 0) then endif I'm sure it's likely something rather simple that I have messed up, but I haven't found a solution yet, so I'm reaching out to the great group here. Thank you. |
The default context is the pick/thing where the script is running from, so these are checking for the tags on that pick/thing.
If you want to check the tags on the active "hero" instead, you need to specify it Code:
if (hero.tagis[RaceGroup.ChromaDrag] <> 0) then |
Oh my goodness, I cannot believe it was that silly of a mistake.
Thank you so much. |
All times are GMT -8. The time now is 02:37 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.