Play an animation on the map with mouse click?

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
446
Reaction score
418
First Language
English
Primarily Uses
RMMV
Hello gamers and developers!

I have run into a little snag with a mini-game that I am currently concocting. More details on that later.

I was wondering if I would need a plugin or if it is possible to be able to play an animation... let's say Fire One 2... when I click with the left mouse button. It doesn't have to interact with anything. I just need it to play an animation where I left click on the map. I was able to find the x and y coords for where the mouse is but the "Show Animation" option only lets you pick from "Player" or "Event".
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,187
Reaction score
719
First Language
Dutch
Primarily Uses
RMMV
when variable mouse Y and X, than make sure the animation is also between the screen or area to get the animation done.
eventing it would be possible, but make sure its on a parallel process.

I cant tell what exacly the order should be to get it done though at this point. but there is a little scriptcall that also get the coordinates
of the mouse (which I need to grab), but Im not sure if that would help on playing the animation.
 

NinjaKittyProductions

Professional Murder Hobos
Veteran
Joined
Jul 9, 2013
Messages
446
Reaction score
418
First Language
English
Primarily Uses
RMMV
TouchInput._x and TouchInput._y allow events and common events find my mouse. I just cannot get an animation to play on the map where I click with the mouse. i know it should be something easy but for some reason I think I'm just overlooking it.
 

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,187
Reaction score
719
First Language
Dutch
Primarily Uses
RMMV
I mean more around this:

variable #0001 = TouchInput._x
variable #0002 = TouchInput._y
If TouchInput.isPressed() = 2
show animation (any)
END

or use an ELSE handler, but I dont know what exacly you want to do with the game event though.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Quexp wrote on Shaz's profile.
I absolutely love your profile/pic! :kaoluv:
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
I made a battle results screen for my minigame.. any feedback? :)
Things I thought would never happen but just did: I needed to use my snow shovel. In August. In the Northern Hemisphere.
So I finished Cupcake, now I need to figure out my next project!
Do I pick up one of my incomplete games?
Do I start something entirely new???
The possibilities are endless!

Forum statistics

Threads
100,682
Messages
978,380
Members
132,307
Latest member
secasus
Top