Weighted Reels
This node generates reel positions based on weighted probability.
The Weighted Reels node determines where the reels stop spinning.
The Weighted Reels node selects a stop position for each reel. It uses the reel strips and a random seed (or input list) to pick a position. In "Dynamic" mode, it can generate the reel content on the fly based on weights, rather than just picking a position on a static strip.
Parameters
| Data | Description |
|---|
| Reel Strips | The source strips. |
| Seeds | Array of random seeds. |
| Row Size | Number of visible rows. |
| Is Dynamic | Boolean. If true, generates reels dynamically. Default: false. |
Actions
| Signal | Description |
|---|
| Do | Triggers generation. |
| Free Spin Trigger | Triggers generation with specific logic to ensure/allow free spin symbols (Dynamic mode). |
Outputs
Results
| Data | Description |
|---|
| Reels | The resulting 2D array of visible symbols. |
| Stop Positions List | The indices where the reels stopped. |
Events
| Signal | Description |
|---|
| Done | Triggered when complete. |
Usage
Static Spin
- Is Dynamic: False.
- Provide Reel Strips.
- Trigger Do.
- The node picks a random index for each reel and extracts the visible window of symbols.
Dynamic Spin
- Is Dynamic: True.
- Provide Symbol Weights.
- Trigger Do.
- The node constructs a new reel window from scratch based on the weights, effectively simulating an infinitely long reel strip where every spin is unique.
Detailed Behavior
- Static Mode: Simulates a physical machine where the strip is a fixed loop of paper.
- Dynamic Mode: Simulates a digital machine where every symbol is picked independently (or semi-independently) based on probability.
Troubleshooting
- Reels Empty: Ensure Reel Strips (Static) or Symbol Weights (Dynamic) are provided.