Mouse Click Event Trigger in Distance

Started by karldaylo, April 25, 2011, 12:54:51 am

Previous topic - Next topic

karldaylo

i would like to request an event system.. which if i clicked an certain event... it will be functioned as what it was programed....
that dont requires the initialized character to get close or beside it...

it would be usefuol for non rpgs(maybe rpg as well) kind of games, like perhaps minigames which your mouse were iconed as a hammer and there are holes which randomly pop outs Gophers... and when you hit them... the [rogrammed event will initialize...

im currently using blizzard's mouse controller script...... any ideas on how to do that?
trigering an event with just a click.. even the main character is in distance?
that would be a very BIG help!
THANKS!
RESPECT LIST:Blizzard, Game_guy, Foreverzer0, Winkio, Nathmatt

ForeverZer0

You can do this with an event, using script calls.

Condition >> Mouse Click
  Condition >> Check coords to see if mouse is over event (do a little math since mouse location is based on pixels)
     Script Call >> start
  End Branch
End Branch
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

nathmatt

or you could use my MCES which has a lot of nice mouse features
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script