The setConditionSuccess native AI script function is used internally to set the success of a dynamic_if
condition.
This function is an internal implementation detail and should not be used by leveldesigners
This document is autogenerated and needs to be reviewed and edited
()setConditionSuccess(conditionState: f); // setConditionSuccess_f_
dynamic_if
condition.()setConditionSuccess(1);
This code sets the success state of the dynamic_if
condition to true
.
This function is used in conjunction with the CAILogicActionDynamicIf
class, which allows for the execution of dynamic_if
conditions.
The CAILogicDynamicIfHelper
class is used to store the success state of the dynamic_if
condition, and the executeAction
function of the CAILogicActionDynamicIf
class checks the success state to determine whether to execute the true or false branch of the if
condition.