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

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Scrivener07
(Merged and redirected to Extending Scripts papyrus concepts page.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The functions and events listed here are on all Papyrus scripts, and do not require you to extend another one.
#REDIRECT [[Extending_Scripts_(Papyrus)#Common_Functions_and_Events]]
 
== Member Functions ==
*Function [[GotoState - All Scripts|GotoState]](string asNewState)
**Changes this script state to the passed-in state
*string Function [[GetState - All Scripts|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
 
[[Category: Papyrus]]

Latest revision as of 17:48, 7 September 2013