OnBeginState

From the CreationKit Wiki
Revision as of 15:03, 26 October 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Any and all scripts.

Event called when the state the event is in has just been switched to. Note that this block will NOT be called for an auto state when the object is initialized.

Syntax

Event OnBeginState()

Parameters

None

Example

State Running
  Event OnBeginState()
    Debug.Trace("Entered the running state!")
  EndEvent
EndState

See Also

OnEndState