The Object Counter is an Action Block. It is used to count events or objects; it can then activate triggers, Signals, or other conditionals based on that count.
Notes[]
- The Object Counter can be attached to any other block using any of its six surfaces.
- The "star" counter used by the Object Counter can be used to track nearly anything. For example, the counter can be programmed to respond based on collecting objects with Is Loot tiles, touching a particular block (via a Signal), or entering a Trigger Zone. This is set up in an object's Programming Window - the desired event can be set up to execute an Add or Subtract Action (to increment or decrement the Counter when it happens).
- The Object Counter's onscreen UI can be displayed for gameplay purposes, or can be hidden from the player. Hiding the UI is done by adding the Hide UI tile to the Object Counter's Programming Window.
List of Scripting Tiles[]
Image Tile Name Description Parameter Set Max Sets the maximum count of the Object Counter Max Value (Slider) Equals Conditional; triggers an event when the count number equals this value Value (Slider) = Max Conditional; triggers an event when the count number equals the maximum value (on the Set Max tile) List parameter type Subtract Subtracts from the Object Counter's current count by one Value (Slider) Add Adds to the Object Counter's current count by one Value (Slider) Is Less Conditional; triggers an event when the count number is lower than this value Value (Slider) Is More Conditional; triggers an event when the count number is higher than this value Value (Slider) Is Not Conditional; triggers an event when the count number is not equal to this value Value (Slider) UI Text Creates an onscreen text message for counter events Text Entry Field Show UI Enables the Object Counter's onscreen UI display N/A Hide UI Disables the Object Counter's onscreen UI display N/A Use Icon Replaces the default onscreen counter graphics (stars) with a chosen Block icon; (place chosen Block icon after this tile) N/A Use Decal Replaces the default onscreen counter graphics (stars) with a chosen Decal icon (place chosen Decal icon after this tile) N/A Win Conditional; triggers a "Win Game" event N/A Lose Conditional; triggers a "Lose Game" event N/A
Usage[]
- It's used for making games where you collect loot.
Tips & Tricks[]
- Placing this block and loot can make a small game