So im trying to make a zapper work like a musket wich can only fire once and then you need to reload can I do that?
I mean quantum portal already does that…
I have a solution, one second.
For the solution you will need a lifecycle and 2 item granters.
well im making some game that have different classes so I cant use everything Quantum Portal tho
i know what @Qu8ck_Qu8ck is gonna say so give him credit. Lifecycle - Detects gadget fire, item granters take away and give the same gadget to the player
On game start, load the player’s inventory with a blaster, preloaded with 1 ammo.
Then, add a lifecycle that detects when a player fires their gadget. Then use another item granter the same as the first, but, before that, add another item granter that gives the player -1 zapper, and when that is removed, add another zapper in the inventory with 1 ammo.
i knew u gonna say that
yes. exactly what i thought
Please mark a solution when you have one.
how do u load a player’s inventory with 1 ammo?
Item granter. Grant the item with 1 ammo.
Please mark a solution.
Nope, sorry. You’re using the same channel too many times.
And the item granters need to have the same item. And one needs to be set to -1.
then what do i do with the channel?
You need 2 lifecycles and 2 item granters.
Set 1 lifecycle to “Game Start” and wire it to an item granter:
Event Occurs --> Grant Item
Make sure said item granter gives you a zapper and its Initial Gadget Projectiles is set to 1.
Set the other lifecycle to “Player Fires Gadget” and wire it to the other item granter:
Event Occurs --> Grant Item
Set the item granter wired to the other lifecycle to give you 1 light shard.
One second. Typing something else
Ok. I gonna try to explain this with no photos.
You will need 2 life cycles and 3 item granters. Make one lifecycle game start and one gadget fired. Make all the item granters the same gadget.
Set the game start lifecycle to broadcast on game start. Then, get one of the granters to grant one of the gadgets to the player when receiving on the game start.
Set the gadget fired lifecycle to “fired” as the broadcast (Like you have it). Then, set the remaining granters to have on eof them -1 of the gadget. Have them both grant on the gadget fired broadcast
Please… don’t be so negative. They might just need a lot of help. There is nothing wrong with that.