Functions (Skyrim)
Summary
Provides methods that can be used to create new Condition based on Papyrus functions. Conditions created with these methods can be added to a ConditionCollection.
Methods
Name Description
Condition EPTemperingItemIsEnchanted() Creates a new Condition based on the EPTemperingItemIsEnchanted Papyrus function.
Condition GenericFunction(int) Creates a new Condition based on Papyrus function that has the specified number and no parameters.
Condition GenericFunction(int,object) Creates a new Condition based on Papyrus function that has the specified number and one parameter.
Condition GenericFunction(int,object,object) Creates a new Condition based on Papyrus function that has the specified number and two parameters.
Condition GetCurrentTime() Creates a new Condition based on the GetCurrentTime Papyrus function.
Condition GetGlobalValue(Form) Creates a new Condition based on the GetGlobalValue Papyrus function.
Condition GetInCurrentLoc(Form) Creates a new Condition based on the GetInCurrentLoc Papyrus function.
Condition GetItemCount(Form) Creates a new Condition based on the GetItemCount Papyrus function.
Condition GetQuestCompleted(Form) Creates a new Condition based on the GetQuestCompleted Papyrus function.
Condition GetStageDone(Form,int) Creates a new Condition based on the GetStageDone Papyrus function.
Condition GetVMQuestVariable(Form,string) Creates a new Condition based on the GetVMQuestVariable Papyrus function.
Condition HasKeyword(Form) Creates a new Condition based on the HasKeyword Papyrus function.
Condition HasPerk(Form) Creates a new Condition based on the HasPerk Papyrus function.
Remarks

Methods such as GenericFunction() can be used to create a new condition based on basically any Papyrus function which returns a value when the proper function number and appropriate arguments are specified. The engine knows what arguments every function requires and will issue a warning if an incorrect number or types of arguments is specified.

Specific methods that create conditions based on commonly used functions have been added and eventually more functions will be added.


Return to: Index