Junior Member
Join Date: Jun 2011
Location: Canberra, Australia
Posts: 10
|
Hi
I'm trying to write a feat, which has several options. Depending on which option is chosen, I want a different Special Ability to show on the Specials tab. So far, I can offer the choice with a custom expression in the feat based on a user tag denoting the set of possible abilities. I can write an eval script in the feat to set another user tag on the hero denoting which special ability to activate. I can see (using the hero tags floating info window) that the second tag gets set on the hero. How do I either activate the relevant ability with a script in the feat or with a script in the ability? I tried an eval script in the ability along the lines of Code:
if (hero.tagis[User.Abil01] <> 0) then perform assign[Helper.ShowSpec] endif Should I instead set ShowSpec on the tag from the feat? How do I do that? Is in fact setting ShowSpec the right thing to do? Help? Thanks Karl Last edited by KarlM; June 6th, 2011 at 09:05 PM. Reason: grammar! |
#1 |
|
|