When the run_path is done (for the player), if the event that was clicked on is still in reach, it will execute.
What are you trying to do that is different from this?
To Shaz -
I was playing around with using the super simple mouse script today, and I really think that you should include this in the main topic or in the script commenting:
Mouse.pos[0] - Mouse x position
Mouse.pos[1] - Mouse y position
Mouse.trigger?[0] - Mouse left clicked once
Mouse.trigger?[1] - Mouse right clicked once
Mouse.pressed?[0] - Mouse left clicked and held down
Mouse.pressed?[1] - Mouse right clicked and held down
So that people can be encouraged to create mini-games, huds and custom content for this.
It took me a little while to figure that out as I'm still just learning ruby and rgss.
Then you can do this to add a hud button to the screen when you're running around the map scene:
#Script for when mouse is hovered over object and clicks on the object.#You have to create an instance of @custom_sprite before using, but you get the general idea.class Scene_Mapalias update_custom_alias_goes_here_for_scene_map updatedef update update_custom_alias_goes_here_for_scene_map if ( Mouse.pos[0] > @custom_sprite.x && Mouse.pos[0] < (@custom_sprite.x + @custom_sprite.width) && Mouse.pos[1] > @custom_sprite.y && Mouse.pos[1] < (@custom_sprite.y + @custom_sprite.height) && Mouse.trigger?[0]) # Do stuff here when sprite object is clicked. endendendIf you explain this, I think more people will be inclined to try creating mini-games or huds that work with this.