Description
Changelog
Reviews (0)

The AdvancedTimer node expands the Timer class by providing a wider set of functionalities.

Signals

timer_started(time: float)

A signal that gets emitted on start_random(), specifying when timeout gets emitted.

Methods

start_weighted(times: PackedFloat32Array, weights: PackedFloat32Array)

start_random(min_time: float, max_time: float)

Similar to start(), but the duration of the timer is between the ranges of min_time and max_time.

Properties

  • min_wait_time
    • Minimum time until timeout
  • max_wait_time
    • Maximum time until timeout
  • weighted_times
    • A Resource containing time/weight pairs
  • static_randomization
    • A RandomNumberGenerator shared between all AdvancedTimer instances
  • seed
    • The seed used by the RandomNumberGenerator
  • rounded
    • rounding_type
      • Floor - Round down
      • Round - Round to nearest
      • Ceil - Round up
    • clamped
      • Keep the rounded number between the min and max time.
    • step_size
      • The multiple of which the random timer should fall to.

Changelog for version 2.3.1

No changelog provided for this version.

Reviews

Advanced Timer has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.