Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   template validation? (http://forums.wolflair.com/showthread.php?t=10318)

Mindcloud May 16th, 2010 01:02 PM

template validation?
 
I am trying to create an eval rule in a class special ability that checks if the hero has an animal companion and then weather a specific template has been applied by the user to the animal companion. This is from unapproachable east the blightlord prestige class forces the blightspawn template on any animal companions the character may have. I could use some help on how to go about this.

Mathias May 17th, 2010 09:32 AM

Code:


if (hero.childlives[cAnimComp] <> 0) then
  validif (hero.childfound[cAnimComp].minion.tagis[Template.tm?] <> 0)
  endif

(Of course you'll need to replace the "tm?" in "Template.tm?" with the unique Id of the blightspawn template)


All times are GMT -8. The time now is 10:06 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.