IsRaceFlagSet - Race
Revision as of 07: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...")
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