Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

RandomTimer

An asset by Dritic
The page banner background of a mountain and forest
RandomTimer hero image

Quick Information

0 ratings
RandomTimer icon image
Dritic
RandomTimer

An addon that allows you to create a RandomTimer node based on Godot's built-in Timer.

Supported Engine Version
4.2
Version String
1.4
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

βŒ› RandomTimer for Godot Engine.

RandomTimer is a simple addon that allows you to create a node based on Godot's built-in Timer, letting you easily randomize the time between your chosen min/max values in the Inspector tab.

πŸ› οΈ Installation

  1. Download the RandomTimer addon for Godot 4.x.
  2. Extract the random_timer folder into the addons folder within your Godot project directory.
  3. Enable the addon in Godot's plugins tab. (Project > Project Settings > Plugins)

πŸ“– Usage

  • Simply add the RandomTimer node to your scene(s) like any regular node in Godot.
  • Adjust the min/max time values to your liking through the Inspector tab.
  • Start the RandomTimer by either calling the $RandomTimer.start_random() function OR by enabling autostart in the Inspector tab.

README Example

You may use signals as you would with an ordinary Timer node!

⚠ Warning: One shot is enabled by default and it is recommended not to change this setting as the value will be constant every time the timer loops. A workaround is to use the RandomTimer's timeout() signal and recall the $RandomTimer.start_random() function!

πŸ’– Credits

An addon that allows you to create a RandomTimer node based on Godot's built-in Timer.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
RandomTimer icon image
Dritic
RandomTimer

An addon that allows you to create a RandomTimer node based on Godot's built-in Timer.

Supported Engine Version
4.2
Version String
1.4
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers