~/forever/addon-api/function/GetRemainingPercent
GetRemainingPercent
documented function · LuaDurationObjectAPI
GetRemainingPercent(modifier) : remainingPercentCalculates the remaining duration as a percentage value.
──ARGUMENTS
- modifier
- DurationTimeModifier, default RealTime
──RETURNS
- remainingPercent
- number
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.