Common Functions and Events (Papyrus)

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

The functions and events listed here are on all Papyrus scripts, and do not require you to extend another one.

Member Functions

  • Function GotoState(string asNewState)
    • Changes this script state to the passed-in state
  • string Function GetState()
    • Returns the state the script is currently in

Events

  • Event OnBeginState()
    • Called when a state has just been switched to
  • Event OnEndState()
    • Called when a state is about to be switched away from