Help with transform event

Status
Not open for further replies.

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
Trying to make my visual character transform (change graphics) through skill.

- Made the transform skill wich adds state 'WERE' and runs common event 'WEREFORM ON'.

- 'WEREFORM ON' common event checks if actor is inflicted by were and then changes the graphics of the actor.

- I've added the skill to the actor.

PROBLEM: Using the skill doesnt add the state to the user. Also, I tried this with different method by making skill add state default 'Poison' and run the same common event 'WEREFORM ON' wich now checks if the actor is poisoned. The skill now adds the state to user correctly 'Poison' but doesn't change the graphics.

I have most of the Yanfly's scripts (ace core engine, battle engine etc.) with visual battlers and fomar0153 ATB addon. I also have Yanfly's Buff & State manager, maybe it has something to do with this.

Any help appreciated since this would be template to two different core classes for my game, one that transforms and one that 'summons guardians' but technically just transforms himself.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
what is the skills' scope? It might not be applied because the scope is wrong, or because the probability is wrong, or because of a lot of tiny possible mistakes.

You might decide to use the damage formula as an override, giving a.add_state(number); in the damage formula.

If that all doesn't work, then please post screenshots of skill, state and common event.
 

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
what is the skills' scope? It might not be applied because the scope is wrong, or because the probability is wrong, or because of a lot of tiny possible mistakes.

You might decide to use the damage formula as an override, giving a.add_state(number); in the damage formula.

If that all doesn't work, then please post screenshots of skill, state and common event.
Scope = User. Probability 100%. Added that formula to the skill under HP dmg formula. Still no luck. The skill plays the animation I've made it play but nothing more. Screenshots:



 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
Place a show text message inside the conditional branch to proof that that part is executed.

It might be that the commands are executed but don't become visible - I do not know when Yanfly's engine updates the faces. If the faces are set at the beginning of battle and then aren't redrawn during battle, then the graphic would be changed in the data but not updated in the screen.

If that text message appears, then you'll have to check the battlescripts for the redraw command and call that in the common event.

If that message isn't shown then something went wrong with the conditioning or the state. Perhaps you should assign an icon to the state as well (for testing only) to check if that state is applied or not.
 

RaZzi

My Peculiar Brother
Veteran
Joined
Jul 19, 2013
Messages
423
Reaction score
206
First Language
Finnish
Primarily Uses
Lol. Fixed this by adding ICON to state.... Thank you Andar. SOLVED. 
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
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 Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top