ClearRaceFlag - Race

From the CreationKit Wiki
Jump to navigation Jump to search

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]