[SOLVED] MOG_ChronoEngine / MOG_CharPoses: Manually invoke tool_pose Sprite?

Status
Not open for further replies.

aporokizzu

anti-kumbaya
Veteran
Joined
Jan 14, 2020
Messages
59
Reaction score
84
First Language
english
Primarily Uses
RMMV
Does anybody know how to go about manually invoking a specific tool_pose (the image used by a tool event) in an event using script calls, independent of the this.act(x) command that they are associated with?

I would like to be able to do it from a Game_Enemy event's Movement Route commands list.

Thank you!
 

aporokizzu

anti-kumbaya
Veteran
Joined
Jan 14, 2020
Messages
59
Reaction score
84
First Language
english
Primarily Uses
RMMV
Sleep is my stackoverflow.

I realized you can manually invoke a Game_Enemy's knockback sprite with the line:
JavaScript:
$gameMap.event(eventId).battler()._ras.knockback[1] = duration;
So, working off this, I modified a few MOG_CharPoses.js functions so that I can temporarily override the knockback sprite with my own specification.

Check the flavor of the rhythm I wrote:
quickPose.png

So, now (watch the big fellow when $gameMap.event(1).quickPose() is executed):

"Have mercy baby, I hope you don't mind..."
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,006
Reaction score
4,746
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

We've finally released an early demo of our game! Would love to see what people think! https://forums.rpgmakerweb.com/index.php?threads/odicia-pre-alpha-demo.125104/
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,678
Messages
978,347
Members
132,300
Latest member
belphe89
Top