G
Gizimo
Guest
I am trying to create an interactive door that opens when the player presses "x" while close to it. I'm currently trying to work out how to call an alarm on the door when the player presses "x".
You can reference alarms and variables from other objects by doing [object name].alarm[0], in your case probably obj_door.alarm[0] = [amount].I am trying to create an interactive door that opens when the player presses "x" while close to it. I'm currently trying to work out how to call an alarm on the door when the player presses "x".
Why not just do it in the door that seems like it would be easier?I am trying to create an interactive door that opens when the player presses "x" while close to it. I'm currently trying to work out how to call an alarm on the door when the player presses "x".
I'd go with place_meeting in the step event for simplicity, depending on the complexity of your situation.I am trying to create an interactive door that opens when the player presses "x" while close to it. I'm currently trying to work out how to call an alarm on the door when the player presses "x".