Difference between revisions of "ClearRaceFlag - Race"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Seigneur Voland
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Race Script Clears the specified race flag. (This function requires SKSE) == Syntax =...")
 
imported>Seigneur Voland
 
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
; Prevents Nords to swim
; Prevents Nords to swim
NordRace.ClearRaceFlagSet(0x00000040)
NordRace.ClearRaceFlag(0x00000040)


; Prevents Orcs to be pick-pocketed
; Prevents Orcs to be pick-pocketed
OrcRef.GetRace().ClearRaceFlagSet(23)
OrcRef.GetRace().ClearRaceFlag(23)
</source>
</source>



Latest revision as of 09:06, 8 September 2012

SKSE Member of: Race Script

Clears the specified race flag. (This function requires SKSE)

Syntax[edit | edit source]

Function ClearRaceFlag(Int n) native

Parameters[edit | edit source]

  • n: the Nth Race Flag

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Prevents Nords to swim
NordRace.ClearRaceFlag(0x00000040)

; Prevents Orcs to be pick-pocketed
OrcRef.GetRace().ClearRaceFlag(23)

Notes[edit | edit source]

None

See Also[edit | edit source]