Detecting Player Gadgets - Is it possible now?

With the new lifecycle action known as the “Player Fires Gadget” (I don’t remember) could it be possible to now detect what Gadget the player has? (Kinda)
We could have the lifecycle check for when the player fires the Gadget.
Then we would check if any of eligible Gadget Ammunation (Shards and Snowballs) went down by one.
Light Shard Used: HAS to be Zapper.
Medium Shard Used: Either Wooden Wand, P.M.L, Slingshot, or Blaster.
Heavy Shard Used: Either Evil Eye or Quantum Portal.
Snowball Used: HAS to be Snowball Launcher.
Since the Pickaxe does NOT use ammo, we may not be able to detect for that.
But then again, is this possible?

1 Like

You can only detect if the player’s gadget uses a certain type of ammunition, not between specific gadgets themselves. And yes, this is possible. You’d use inventory item managers to see when the amount of items goes down. After that, you’d see if the player had fired their gadget recently using the lifecycle option.

4 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.