Logic Counter
Last updated
Last updated
An actor that stores and manipulates a numeric value. Use this to count how many times certain things happen in the game.
OnValueChanged
Event when the current value is changed.
-
OnTargetValueReached
Event when the current value equals or greater then the target value.
-
OnGetValue
Event when the current value is read using the 'GetValue' function.
$Value
: Current value
Add
Add to the current value.
<int32
Amount>
Subtract
Subtract from the current value.
<int32
Amount>
SetValue
Set the current value directly.
<int32
Value>
SetTargetValue
Set a new target value. Fires 'OnTargetValueReached' if current value equals or greater then the new target value.
<int32
Value>
GetValue
Fire the 'OnGetValue' event with the current value.
-