Difference between revisions of "Common Functions and Events (Papyrus)"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Ereksen
m (Languages template)
Line 14: Line 14:


[[Category: Papyrus]]
[[Category: Papyrus]]
{{Languages}}

Revision as of 09:25, 13 October 2012

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


Language: English  • français