SetRaceFlag - Race

From the CreationKit Wiki
Revision as of 10:06, 8 September 2012 by imported>Seigneur Voland
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]