Senior Member
Join Date: Jul 2010
Posts: 149
|
Is it possible to set the polymorph gizmo up to allow every Extraordinary ability a creature possesses? I've gotten as far as:
Code:
foreach pick in gizmo where "HasAbility.?" if (eachpick.tagis[AbilType.Extra] <> 0] then |
#1 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
try something like this
perform assignstr["PolyAllow." & eachpick.idstring] where you are assigning the PolyAllow to whatever has the polymorph gizmo on it. You can also simplify your loop by the following: foreach pick in gizmo where "AbilType.Extra & HasAbility.?" However, I am not sure if "foreach pick" or "foreach thing" would be the way to go here. Try both and see if either works. Last edited by frumple; March 2nd, 2018 at 08:26 AM. |
#2 |
Thread Tools | |
Display Modes | |
|
|