Style is Top down with RTS movement
You have a red cube and a blue cube. There is a red button and a blue button. If the corresponding cube moves upon the corresponding button. The gate opens.
Currently, I have my project setup with:
- Camera Pawn
- Parent Cube
- Red Child Cube
- Blue Child Cube
- Parent Button
- Red Child Button
- Blue Child Button
I’ve been beating my head against a wall trying to figure out how to make the logic flow. I’m trying to make it where when both cubes are on the buttons the game moves to the next level (In this case for testing, prints a string or something). My main issue is keeping up with the color coordination and the state of the button.
I originally had just the parent actors with exposed material variables that allowed me to set the color while placing them in the level. It worked but I could never get it to fully do what I wanted. I added the child actors to help organize the flow some but I’m just spinning in circles now. Help! Not looking for an exact guide but a push in the right direction… or a guide… either or