Morrowind Mod:GetRace

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


GetRace

                GetRace, 'RaceID'

       Where:   'RaceID' = RaceID to compare against the calling NPC.

        Type:   Faction

     Returns:   short

     Example:   if ( GetRace, "High Elf" == 1 )
                if ( "telvanni sharpshooter"->GetRace, "Imperial" == 1 )

     Scripts:   DaedraMalacath
                RaceCheck

Returns 1 if the calling NPC is of the given race, or 0 otherwise. The following is a list of the default races available to the player.

        Argonian
        Breton
        Dark Elf
        High Elf
        Imperial
        Khajiit
        Nord
        Orc
        Redguard
        Wood Elf