S
Stranger
Guest
Hello everyone. I'm having trouble pulling variables from deactivated objects. It could simply be a matter of order placement. I'm new to the community but have been working with GameMaker for a few years now. This is my very first post! I'm still rather unskilled with the coding. I'm making a game where the player walks around the map and interacts with certain objects. When you do, it pauses the game by deactivating all instances(other than the controller object) and creates an "Event object" complete with a picture and text boxes. Eventually there will be choices to make in the text box. But right now I'm having trouble drawing the different "Event sprites" based on what object the player interacted with. I don't know if GameMaker can see variables from deactivated objects, or if I just don't know the correct function to reference the object that the player is interacting with. Your help is greatly appreciated.