View Single Post
Old 09-13-2008, 08:25 PM   #2
SilentThief
Symbol of Cyric
 
Burger Time Champion
Join Date: September 10, 2001
Location: USA
Age: 49
Posts: 1,301
Default Re: How to use GPDL to check for race?

I managed to pull some examples out of the help file, and this is what you found as well:

$IF ($Race($Target())=="Elf")
{
$RETURN true;
}
$ELSE
{
$RETURN false;
};

(or more simply $RETURN ($Race($Target())=="Elf")

Also, from the help file under "character attributes",

Race Values:
0=Human, 1=Elf, 2=Dwarf, 3=Gnome, 4=HalfElf, 5=Halfling

Not sure what you are trying to do (if I knew more I might be able to help more), but hope this helps some.

ST
ps, questions like this and your "cracking the code" on ASLs makes me want to take up the "guide" gauntlet again
__________________
http://www.wilhelmscream.net/
SilentThief is offline   Reply With Quote