Adding Summon Monster Template Required
Hi, I'm creating portfolios of Summoned Monsters. For Summon Minor Monster, none of the animals are showing the "Template Required" (after Configure Hero, checking the summoned monster thing).
So, following the instructions here, it needs the Hero.NeedSumTem right?: http://forums.wolflair.com/showthrea...ero.NeedSumTem So instead of editing all the animals, I instead created an Adjustment to add it. It seemed to work BUT it doesn't flag as a validation error. :( It shows the "Add Required Summoned Creature Template" as red but no other validation errors (and I need it in the Validation Report so it shows in the XML for further processing down the road...) Do I have it in the wrong spot? Where should it go instead of First? First (Priority 100) Code:
~ If we're not enabled, get out now |
In the configure hero, have you selected the summoned creature source? It's in the "Classes to Show" section, near the bottom of the source list.
|
Yes. Which gives you all that summon monster stuff.
But there is a "Checkbox" that denotes "This is a summon monster and should apply a template". Basically, it's the difference between Summon Minor Monster & Summon Minor Ally for a Bat. One requires Celestrial/Fiendish template, the other doesn't. The Hero.NeedSumTem simply drives this "Checkbox". From what I can tell, you bake this tag in for "most" creatures but not all. |
Shameless bump for help...
|
Well, if I understand what you're saying, the "add a template" text is red, but the validation warning isn't appearing, and for some reason that's a problem for you. Here is the XML for the relevant validation error:
Code:
You said you checked the Summoned Creature source in the config, and I believe that applies the Hero.Summoned tag. So that shouldn't trip the 2nd validif Your adjustment is applying Hero.NeedSumTem, so that should be fine for the 3rd. I'm guessing the fourth, which checks that herofield, is probably where you're going wrong. Did you check the box for the hero? |
1 Attachment(s)
It looks like all the tags & fields are there? Everything works except for the Validation Report.
Also, here's a link to the portfolio if needed. Attached image is what I have (with my custom adjust above turned on). |
Ah, I think I have it. Look at the context of the 3rd validif
|
Hrm. If I'm reading that right, doesn't that say it's valid if tag Hero.NeedSumTem doesn't exist? (which it does?)
validif (tagis[Hero.NeedSumTem] = 0) Or I'm just missing it completely... |
The context from a coding perspective. The other validifs are transitioning from the initial context to the hero, and then checking for a particular tag. The 3rd validif never transitions, so it is checking for the tag on the initial context. This is an evalrule on the race component, so the initial context is the pick it is running on, which is the race. So, what else does your adjustment need to do?
|
That's it, the adjust ONLY adds the checkbox so validation report show that a template is required and has not been selected.
Does it need to go somewhere else other than First or...? (The above code is the adjustment in it's entirety) |
All times are GMT -8. The time now is 09:33 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.