%corpseGetStat()

Aliases%corpseGetStat( )
Parametersobject @corpse, string @statName

    Returns the value for a given @statName that belongs to the @corpse object.
The @corpse may be an object pointer or object keyword. The @statName may be
any one of the following stat names:

id
name
isPc
isNpc
isDecapitated

Example:

if( %corpseGetStat( @corpse, isPc ) )
{
get all @corpse
grin
}
endif