SetRaceFlag - Race

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Race Script

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

Syntax[edit | edit source]

Function SetRaceFlag(Int n) native

Parameters[edit | edit source]

  • n: the Nth Race Flag

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Let the Player activate cows so he can talk to them
CowRace.SetRaceFlag(0x00200000)

; Makes this bandit and his race considered as Child
BanditRef.GetRace().SetRaceFlag(2)

Notes[edit | edit source]

None

See Also[edit | edit source]