The DbConditionFunctions script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Dylbills Papyrus Functions (Dylbills PE).
For this script, the Papyrus index knows about:
- 17 functions
Inheritance Tree
No indexed scripts extend this script.
Properties
No properties found.
Events
No events found.
Functions
- Found in:
- Dylbills PE
voidfunctionCreateCondition(stringconditionId, intconditionFunction, intcomparison=0, floatvalue=1.0)NativeGlobalcreate a new condition. ConditionId should be unique, so for example use "modPrefix_conditionName".
int comparison options are:
0 = "=="
1 = "!="
2 = ">"
3 = ">="
4 = "<"
5 = "<="
If the condition with the conditionId already exists, this will overwrite the condition with a new one. If overwritten, the params will have to be set again.
Use the ConditionExists function first to prevent this from happening.
See below for the available int conditionFunctions.- Found in:
- Dylbills PE
Destroy the condition with the conditionId created with the CreateCondition function.
- Found in:
- Dylbills PE
Does the condition with the conditionId exist?
- Found in:
- Dylbills PE
Set the nth parameter for the condition with the conditionId to the form param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
Set the nth parameter for the condition with the conditionId to the Alias param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
Set the nth parameter for the condition with the conditionId to the Bool param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
Set the nth parameter for the condition with the conditionId to the Int param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
Set the nth parameter for the condition with the conditionId to the Float param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
boolfunctionSetConditionParameterString(stringconditionId, stringparam, intparamIndex=0)NativeGlobalSet the nth parameter for the condition with the conditionId to the String param. paramIndex must be between 0 and 2.
- Found in:
- Dylbills PE
Set the condition with the conditionId's comparison for the conditionId.
int comparison options are:
0 = "=="
1 = "!="
2 = ">"
3 = ">="
4 = "<"
5 = "<="- Found in:
- Dylbills PE
Set the condition with the conditionId's comparison value.
- Found in:
- Dylbills PE
Run the condition with the conditionId on the optional target and evaluate. Return true if the condition is met.
- Found in:
- Dylbills PE
Does the condition event for the condition with the conditionId and target exist?
- Found in:
- Dylbills PE
Create a condition event for the condition with the conditionId on the optional target.
Returns false if the event already exists or the condition with the conditionId wasn't found.- Found in:
- Dylbills PE
Destroy the condition event previously created for the condition with the conditionId on the optional target.
Returns true if the event exists and was destroyed.- Found in:
- Dylbills PE
Destroy all condition events created with the CreateConditionEvent function for the condition with the conditionId and return the number destroyed.
Note that using DestroyCondition(string conditionId) will DestroyAllConditionEvents for the conditionId as well.- Found in:
- Dylbills PE
Count how many condition events were created with the CreateConditionEvent function for the condition with the conditionId.
