Background for Skyrim SE
Member of the DbConditionFunctions script
boolfunctionCreateConditionEvent(stringconditionId, ObjectReferencetarget=NONE)NativeGlobal

Description

Documentation Comment

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.


Caveats


Parameters

stringconditionId

ObjectReferencetarget=NONE


Examples

Auto-Generated Example

string myString__conditionId
ObjectReference myObjectReference__target

bool returnedValue = DbConditionFunctions.CreateConditionEvent(myString__conditionId, myObjectReference__target)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.