Logic · Step
Shot: use up the item or not
Chooses whether throwing or shooting uses up the item (the arrow, snowball or egg). Turn it off for endless ammo. Only before any Wait.
m.on.player_launch_projectile.set_should_consume
In a flow
“When a player throws or shoots something → Set the should consume → Done”
When a player throws or shoots something → Set the should consume → Done
What it does
Chooses whether throwing or shooting uses up the item (the arrow, snowball or egg). Turn it off for endless ammo. Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: chooses whether throwing or shooting uses up the item (the arrow, snowball or egg). Turn it off for endless ammo. Only before any Wait.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Should consume Yes / no
-
The player launch projectile's new should consume.
What goes there: Type it in the side panel, or wire in true or false. e.g. true
If it's empty: Optional. Left alone, it's off.
Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more