Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
Basically, in your object, the mouse[pressed,check,released] event will trigger when clicking ON the object, wheras the GLOBAL mouse[pressed,check,released] will trigger if you click anywhere on the screen.
DnD or GML is the same, as it's in the event list
Ohhhh no, absolutely not!
The keyword other only works inside of a with statement, and in the collision event.
Not going to work any other way.
Let me give you an example.
Say you have an obj_play_button, and when you click on it, you want to go to the main game room, then in obj_play_button mouse left released event you would put room_goto(rm_game);
An example for GLOBAL mouse pressed would be in a RTS when you select a unit and want it to move where you click (which obviously won't be on your obj_unit, right?)
Then in your obj_unit global right pressed event you would put your code to move the unit towards that spot you clicked (which could be complicated in a RTS, but you get the idea)