Yanfly enemy level script + MOG enemy hp and boss hp script

slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
441
Reaction score
9
First Language
english
Primarily Uses
RMVXA
Hey guys could use some help with this. I am trying to use yanflys enemy level script and wanted to use MOG enemy and boss hp scripts but I keep getting this error:
1599167251385.png
How would I fix this?
Scripts:
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
you just need to put the enemy levels below Mog's HP scripts
 

slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
441
Reaction score
9
First Language
english
Primarily Uses
RMVXA
you just need to put the enemy levels below Mog's HP scripts
Ok that worked. How would I go at keeping the gauge shown during the battle? Also is there an addon for tp and mp?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
keeping the gauge shown during the battle
Two spots in the script for enemy hp
Line 140 and 303 change the false to true for @enemy.hp_meter_active
But in testing this the meter doesn't go away after the enemy is killed.
addon for tp and mp?
You could probably copy the script and change everything that says hp to mp. But there is also an issue with that. what if the enemy has 0 mp. the game will crash with a divide by 0 error.
 

slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
441
Reaction score
9
First Language
english
Primarily Uses
RMVXA
Two spots in the script for enemy hp
Line 140 and 303 change the false to true for @enemy.hp_meter_active
But in testing this the meter doesn't go away after the enemy is killed.

You could probably copy the script and change everything that says hp to mp. But there is also an issue with that. what if the enemy has 0 mp. the game will crash with a divide by 0 error.
That worked. Nevermind about the mp and tp. How would I go at showing the numbers for regular enemies with the hp bar?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
I would then recommend Ventwig VTS Enemy HP Bars
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top