this script works with the scripts I have, as is. However, I'm requesting help in modifying the script to do what I need or for some one with more know-how to modify it for me.
Spoiler
class Window_EnemyHP < Window_Base def initialize super(0, 0, 640, 480) self.contents = Bitmap.new(width - 32, height - 32) self.opacity = 0 @old_enemy = [] refresh end def refresh self.contents.clear for i in 0...$game_troop.enemies.size @enemy = $game_troop.enemies @old_enemy = @enemy.clone unless @enemy.hp == 0 self.contents.font.size = 15 self.contents.font.bold = true self.contents.font.color = Color.new(0,0,0) self.contents.font.color = normal_color self.contents.draw_text(0, i * 45 + 37, 100, 32, @enemy.name) draw_actor_hp(@enemy, 0, i*45 + 50) draw_actor_sp(@enemy, 80, i*45 + 50) draw_actor_parameter(@enemy, 160, i*45 + 50, 0) draw_actor_parameter(@enemy, 240, i*45 + 50, 1) end end end def update for i in 0...$game_troop.enemies.size enemy = $game_troop.enemies if enemy.hp != @old_enemy.hp || enemy.sp != @old_enemy.sp || enemy.atk != @old_enemy.atk || enemy.pdef != @old_enemy.pdef || enemy.mdef != @old_enemy.mdef || enemy.str != @old_enemy.str || enemy.dex != @old_enemy.dex || enemy.int != @old_enemy.int || enemy.agi != @old_enemy.agi refresh end end endend
Hell hound
HP 888/888 SP 888/888 ATK 100 PDEF 100 (with about 10 to 20 spaces between stat name and value. really spaced out)
I'm also wondering why there are so many spaces between the stat name and the value.
example: ATK <- about 10-20 spaces -> 100
Basically, all the way across the screen, and with some coordinate changes, the stat names and the values would overlap. What I'm trying to accomplish is something like this:
Hell hound
HP 888/888 SP 888/888
ATK 100 PDEF 100
something to that effect, anyway