IsRaceFlagSet - Race

From the CreationKit Wiki
Revision as of 08:22, 8 September 2012 by imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Race Script Returns whether the specified race flag is set. (This function requires SK...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Race Script

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

Syntax[edit | edit source]

Bool Function IsRaceFlagSet(Int n) native

Parameters[edit | edit source]

  • n: the Nth Race Flag

Return Value[edit | edit source]

Returns whether the specified race flag is set.

Examples[edit | edit source]

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

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

Notes[edit | edit source]

None

See Also[edit | edit source]