Problem with kids cooking station.
Author: Aleksei Ratnikov
Problem: The cooking station puzzle requires the player to click buttons properly to solve it, and one of the issues was despawning actors after spawning into the engine. The problem was that I was trying to destroy actors in the CookingPuzzle event graph since that was the place I was keeping track of the player input, so I was thinking of the best way to make spawned actors destroy if the input was wrong. After trying some stuff out, I couldn't get a reference to the spawned actor to make it despawn.
Solution: To make my puzzle work, I looked over the blueprint once more and found how I would be able to despawn actors and make it make sense. In the button blueprint, I have a function called DoOnce which only allow commands to run only once, and that function has the reset function, which led me to think that I would just destroy actors on each button when it calls reset. As well I've added the delay between wrong inputs so the player would have time to memorize what has clicked and not make that mistake again.
BP_Button1,2,3:
BP_CookingPuzzle:
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Fixing issue with Hud not being validApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.