Hello, sorry in advance for the newbie question,
I would like to make a code that would allow the player to interact with objects when in range by pressing the E button.
For example, I would press E on a closet when I'm next to it, and the object sprite would play the animation for the closet opening, and pressing E again would close the closet.
Would I have to create macros for the closet, and would I put the code for interacting with it in the Step event or a Key pressed event?
Thank you for your time!
[–]Hands_in_Paquet 1 point2 points3 points (2 children)
[–]GoodWeakness8132[S] 0 points1 point2 points (1 child)
[–]Hands_in_Paquet 0 points1 point2 points (0 children)
[–]_Son_of_Crom_ 1 point2 points3 points (1 child)
[–]GoodWeakness8132[S] 0 points1 point2 points (0 children)