Is it possible to make it where you can pick up food and eat it?
Yes. Connect a lifecycle set to game start to a checker. Set the checker so it checks for the item that you want to use as food. Connect the checker to a wire repeater (check fails → ) then the wire repeater to the checker ( → Run check.) Also connect the wire repeater to a game overlay device (_ → hide overlay.) Connect the checker to a game overlay device (check passes → show overlay.) Also connect the checker to another wire repeater. Set the overlay device so it doesn’t show when the game starts. Also, set it to a button and make its text something like “eat.” Connect the overlay button to the checker (button pressed → run check) and to a health granter (assuming you want health to be granted when you eat the food.) Connect the overlay button to an item granter (button pressed → grant item) set to the food item. Make it grant -1 of that item.
I hope my block of text is the solution lol, otherwise it would be for nothing
nice pfp navy
Whoa you write fast! I didn’t expect an answer so soon lol . I’ll try this out thanks!!
No problem! Also, welcome to the community! Sorry if it doesn’t work, I didn’t test it out lol
it works, it tested it.
Good to hear! Make sure you mark it as a solution ;]
you can also just wire the overlay to wherever you get the food, and make it show on wire pulse, then make it hide when clicked using a wire repeater or channels, but that only works if you can get the food from only 1 place. if you can get it from multiple places, that wont work.
Yay you’ve finally joined the forums! Also you can pass the character limit but putting characters in these: < >
No spaces directly before or after the < >
Ok fixed it!
Oh ok. Thanks for responding!
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.