• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Assigning a racial ability based on hero level

madcatprimary

Active member
I get a syntax error on this, but I don't know why. It's on the perform function, I think.


~If we're 3rd level then assign ability
if (#totallevelcount[] >= 3) then
perform hero.assign[raGithyPs3]
endif
 
I get a syntax error on this, but I don't know why. It's on the perform function, I think.


~If we're 3rd level then assign ability
if (#totallevelcount[] >= 3) then
perform hero.assign[raGithyPs3]
endif
So the issue is that assign does "Tags" and above is only half of a tag really. A tag has a "Group" and then its "ID".

So in example the feat dodge has a thing id of "thingid.fDodge". So HL does not know what Group the Tag "raGithyPs3" is from. And honestly from the above I can't figure out either.

Please note my guess is you are trying to get the racial ability "raGithyPs3" to appear on the character? This requires a Bootstrap which CAN not be done in a script. See "Bootstrap Conditions" article about how to do a conditional bootstrap that only shows up under specific situations.
 
Back
Top