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
$Value
Add
Add to the current value.
<int32 Amount>
int32
Subtract
Subtract from the current value.
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.
GetValue
Fire the 'OnGetValue' event with the current value.
Last updated 1 year ago