OnRaceSwitchComplete - Actor

From the Fallout4 CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Event called when the actor has finished switching races.

Syntax[edit | edit source]

Event OnRaceSwitchComplete()

Parameters[edit | edit source]

None

Examples[edit | edit source]

Event OnRaceSwitchComplete()
  Debug.Trace("This actor's race has finished changing")
endEvent

Notes[edit | edit source]

It is possible for this event to be hit when loading a save with a player character of a different race. Your script should keep track of its state so that you don't process when you don't need to.

See Also[edit | edit source]