IsRaceFlagSet - Race

SKSE Member of: Race Script

Returns whether the specified race flag is set. (This function requires SKSE)

SyntaxEdit

Bool Function IsRaceFlagSet(Int n) native

ParametersEdit

  • n: the Nth Race Flag

Return ValueEdit

Returns whether the specified race flag is set.

ExamplesEdit

Bool IsPlayable = ImperialRace.IsRaceFlagSet(0x00000001) ; IsPlayable = true

; Can Player talk to cows ?
if ( !CowRace.IsRaceFlagSet(21) )
   Notification("Cows can not talk !")
endif

NotesEdit

None

See AlsoEdit