Skill that transforms enemy visual.

SuperMachoMan

Villager
Member
Joined
Jun 2, 2015
Messages
20
Reaction score
1
First Language
English
Primarily Uses
So as one of the enemies, its a bird that drops a ball via a skill, and then switches its visual to be the same bird but without its ball.

What is the best way to do this?
 

Tagris

Veteran
Veteran
Joined
Oct 22, 2015
Messages
35
Reaction score
12
First Language
English
Hello SuperMachoMan!

I would suggest using a common event to do this tied to the skill.

Example:

Create the bird as a monster with the ball and without the ball as a sprite.  Have them both in the game.  In each 'troop' that has the bird, have both present and the one without the ball hidden.

Create the skill to call the common event that will play the animation and hide the ball version of the bird and reveal the hidden no ball version of the bird.

You can include an variable in the common event to look at the monsters HP with the ball and set the bird with no ball to that current HP.

My solution will achieve what you want to do, but it won't work in a few situations...like if there are multiple birds in the same troop.

For that , I don't know a solution.
 

SuperMachoMan

Villager
Member
Joined
Jun 2, 2015
Messages
20
Reaction score
1
First Language
English
Primarily Uses
Well that wont work since theres going to be more than 1 bird in a troop.
 

Tagris

Veteran
Veteran
Joined
Oct 22, 2015
Messages
35
Reaction score
12
First Language
English
I wonder if this would still work if you had multiple versions of the enemy.... I would need to test it out.

As in..if the max number of these enemies in a troop was ...3, then you create 6 versions of them (3 with balls 3 without) and tie them together in the event to affect each individually....but I would need to test it.

Perhaps someone else has an easier option though.
 
Last edited by a moderator:

Tagris

Veteran
Veteran
Joined
Oct 22, 2015
Messages
35
Reaction score
12
First Language
English
I tried this last night :)

I was able to complete it using the following steps:

Create a few versions of the enemy with the ball and one enemy without the ball.  The skill used, triggers a common event, which turns on a switch.  The switch triggers an event in the troop menu that looks at that version of the bird and uses the 'transform' action on the bird to change them into the no ball version of the bird.  You can then use variables in the event to set the HP (or states) to be the same with the new bird.

So it would look like this:

Bird w/ Ball 1

Bird w/ Ball 2

Bird w/ Ball 3

Bird w/o Ball

Bird w/ Ball 1 skill : Drop ball 1 (Run common event Bird 1)

Bird w/ Ball 2 skill : Drop ball 2 (Run common event Bird 2)

Bird w/ Ball 3 skill: Drop ball 3 (Run common event Bird 3)

Common event Bird 1 : Turn on switch Bird 1

Common event Bird 2 : Turn on switch Bird 2

Common event Bird 3 :Turn on switch Bird 3

Troop Event page trigger: Bird 1 switch ON : Transform Bird 1 into Bird w/o Ball Turn off switch

Troop Event page trigger: Bird 2 switch On: Transform Bird 2 into Bird w/o Ball turn off switch

Troop Event page trigger: Bird 3 switch ON: Transform Bird 3 into bird W/o Ball turn off switch

Set this up for each troop with the bird, and you can copy and paste the event pages depending on which bird you put into that battle.

Great question!  I added a monster to my game to do this for fun!  Thanks!
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top