Hello, I want to let the player be able to push a button to open doors/anything else, for example, in the first Scene of the game, the player is inside a closed Room, there's a hidden button that has to be pushed, once the player pushes it, a door opens and the player can continue, at the end of the scene, there's a book, once the player interact by pressing "e", the next scene is loaded.
So, here is what I tought to do:
First button, State, wait for input Get Button ("Interact") (I did add this to the preferences, so it should work), then next state, push move the button (transform? but I want it to slowly move, do I have to use an animation or there's a way to move it and not just teleport it to new position?), and same thing for the door that will move up (it's a stone door in a dungeon).
Book that loads the next scene, State, wait for input (same as above), then next state, load scene at index additive 1 (next scene I guess?).
Now, my questions are 2:
1) How do I make a transition event that waits for input to be recieved? I know I can do it with actions but it doesn't wait it, it just DOES it... I saw the transition events currently available and there's one with mouse, I mean, I could do it with mouse, but since it's also the button I use to shoot, it could be a problem (since I will also use this for many things like to open doors).
2) Is it possible to slowly move objects and not just change their position?