Counter
From The Gimkit Wiki
The counter is a very useful device, and some consider it to be the #1 device. While its intended use is to "Keep track of how many times something has been done", the counter is often used for setting numerical properties to a value without blocks. Some other notable uses are, with a combination of Triggers and counters, to perform math without using Blocks and to recreate Triggers.
Settings
Tab | Dropdown? | Setting Name | Default | Setting Description (In-Game) | Setting Description |
---|---|---|---|---|---|
Property | Yes | Update Property | No | When the counter value changes, update a property | |
Target | Yes | Use Target Value | No | Have a target number for the counter to reach | |
Channels | No | Increment counter when receiving on | Empty | Increment the counter by 1 when the device receives a signal from the selected channel | |
Channels | No | Decrement counter when receiving on | Empty | Decrement the counter by 1 when the device receives a signal from the selected channel | |
Channels | No | Reset counter when receiving on | Empty | Reset the counter to the starting value when the device receives a signal from the selected channel | |
Featured | No | Starting Value | 0 | The value the counter starts at | |
Featured | Yes | Visible In-Game | Yes | Should the counter be visible in-game? | |
Featured | Yes | Count Scope | global | When the count is updated, it applies to who? |
Wires
The Counter has 3 input actions and 1 output event.
Input Actions:
- Increment counter
- Decrement counter
- Reset counter
Output Events:
- Target value reached