So i’m making a game where there is a gadgets room. One team is the attacking and the other is the defending. When the players fill their inventorys, I want them to go to their own base. Is there a way to do this, and if not, is there an alternitive?
Okay so when you say you want them to got to their own base do you mean like teleport to their own base.
Yeah, do you know how?
Is their certain things you want the player to get if so you could use a checker
that checks how much of something you have and if the check passes make the player teleport back to their base via a teleporter
.
So, when a player adds an item to their inventory, the should teleport back to their base?
I want it to telaport them to their base when they have all 5 gadgets that they want
When the inventory is full, yes
Ok. So, is it only gadgets that can be collected?
Yeah only gadgets can be picked up through the Item Spawner.
Ok, since there isn’t really any wires or channels you can do with the spawner. Have a button that when clicked is wired/broadcasted to an item GRANTER, and wen the item is granted, update a counter which in turn updates a property. Then have a checker check each time when an item is granted if the property equals 5, if it does, wire it to a teleporter and transport them back. If not…nothing happens!
@Toothless Does this work with the starting inventory?
Hmm? Do you mean if I give them a starting inventory, will they transport back to base? No. If the starting inventory was wired with the rest, it would also update the counter, but it isn’t so you could give them their 5 starting inventory items. If you did want the starting inventory to be counted also, just wire it to increment the counter.
Great day to say BUMPPP
maybe each time they grab an item they also get an item added to their background inventory, like a crystal or a fish. have an inventory item manager track that item, and when that item amount reaches five, teleport them back to base and remove all of that item.
You can have buttons that are wired to a item spawner and when it is pressed you can make it send out a channel that goes to a counter that increases it. (Make it scoped to player) Next, make a property and make the counter change the property and change the property settings to player scoped and number not text or true or false. Finally, get a checker and make it send out a channel such as teleport out of item room or something when the property reaches 5.
You can’t bump until 2 weeks sorry.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.