Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   I freely admit I'm a complete gimbo when it comes to scripting... (http://forums.wolflair.com/showthread.php?t=11213)

DthShdw September 8th, 2010 03:08 PM

I freely admit I'm a complete gimbo when it comes to scripting...
 
Okay, project goal: Incorporating Elements originating from Forgotten Realms CS (specifically the ideas of Regions/Homelands) for a custom campaign setting.

Already figured out that a Inherrited Template is the simplest option for establishing this particular idea. However, I have a plan for different races to have different options even within the same homeland/region, I'm wondering how to script a requirement for Home: Sorintha - Human to restrict it to just humans?

I'm a good planner. Horrible engineer, so any help is greatly appreciated!

Mathias September 15th, 2010 02:01 PM

In the Expr-Reqs section of that template, add the following message:

Code:


Human race required.

And the Expression:

Code:


hero.tagis[Race.Human] <> 0


DthShdw September 15th, 2010 03:59 PM

awesome, thanks. I'm really sorry for not being able to figure out something really basic.


All times are GMT -8. The time now is 01:09 AM.

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