Background for Skyrim SE

DbConditionFunctions


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
voidfunctionCreateCondition(stringconditionId, intconditionFunction, intcomparison=0, floatvalue=1.0)NativeGlobal

[DEV SERVER] Loading description...

voidfunctionDestroyCondition(stringconditionId)NativeGlobal

Destroy the condition with the conditionId created with the CreateCondition function.

boolfunctionConditionExists(stringconditionId)NativeGlobal

Does the condition with the conditionId exist?

boolfunctionSetConditionParameterForm(stringconditionId, Formparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the form param. paramIndex must be between 0 and 2.

boolfunctionSetConditionParameterAlias(stringconditionId, Aliasparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the Alias param. paramIndex must be between 0 and 2.

boolfunctionSetConditionParameterBool(stringconditionId, boolparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the Bool param. paramIndex must be between 0 and 2.

boolfunctionSetConditionParameterInt(stringconditionId, intparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the Int param. paramIndex must be between 0 and 2.

boolfunctionSetConditionParameterFloat(stringconditionId, floatparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the Float param. paramIndex must be between 0 and 2.

boolfunctionSetConditionParameterString(stringconditionId, stringparam, intparamIndex=0)NativeGlobal

Set the nth parameter for the condition with the conditionId to the String param. paramIndex must be between 0 and 2.

boolfunctionSetConditionComparison(stringconditionId, intcomparison)NativeGlobal

Set the condition with the conditionId's comparison for the conditionId.
int comparison options are:
0 = "=="
1 = "!="
2 = ">"
3 = ">="
4 = "<"
5 = "<="

boolfunctionSetConditionValue(stringconditionId, floatvalue)NativeGlobal

Set the condition with the conditionId's comparison value.

boolfunctionEvaluateCondition(stringconditionId, ObjectReferencetarget=NONE)NativeGlobal

Run the condition with the conditionId on the optional target and evaluate. Return true if the condition is met.

boolfunctionConditionEventExists(stringconditionId, ObjectReferencetarget=NONE)NativeGlobal

Does the condition event for the condition with the conditionId and target exist?

boolfunctionCreateConditionEvent(stringconditionId, ObjectReferencetarget=NONE)NativeGlobal

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.

boolfunctionDestroyConditionEvent(stringconditionId, ObjectReferencetarget=NONE)NativeGlobal

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.

intfunctionDestroyAllConditionEvents(stringconditionId)NativeGlobal

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.

intfunctionCountConditionEvents(stringconditionId)NativeGlobal

Count how many condition events were created with the CreateConditionEvent function for the condition with the conditionId.

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.