HIDING THE PARTY'S HP/MP IN BATTLE BUT NOT THE FIRST ACTOR'S. (RMVX)
Posts
Pages:
1
This is a strange request but I want to hide the HP/MP of the 2nd-4th actor while showing the first actor's HP/MP. I know that in Window_BattleStatus, around line 45 where if I remove:
from the script, I can hide everyone's hp/mp but I'm stumped on how to show the first actor's HP/MP. I actually tried a lot of simple things with my very limited coding knowledge, but nothing works. This is in RPG Maker VX btw.
draw_actor_hp(actor, 174, rect.y, 120)
draw_actor_mp(actor, 310, rect.y, 70)
from the script, I can hide everyone's hp/mp but I'm stumped on how to show the first actor's HP/MP. I actually tried a lot of simple things with my very limited coding knowledge, but nothing works. This is in RPG Maker VX btw.
Easiest way is probably just dropping an if statement around it and checking for the character index you want.
if index == 0
draw_actor_hp(actor, 174, rect.y, 120)
draw_actor_mp(actor, 310, rect.y, 70)
end
if index == 0
draw_actor_hp(actor, 174, rect.y, 120)
draw_actor_mp(actor, 310, rect.y, 70)
end
Thanks, that works! I stupidly forgot to ask: how would you make the enemies only attack the 1st character? It's part of the reason why I needed to hide the HP/MP in the first place actually. I tried using YF's aggro script but theres no easy way to manually set the first actor's aggro to 100 unless you make the first character's skills do 100 aggro (which doesn't entirely fix the problem).
aggro script: http://pockethouse.wordpress.com/vx/battler-stat-aggro/
edit: Nevermind I figured it out, I realized I could get YF's status script and have a state that happens at the start of the battle on a character that changes his odds to 200 or something. Didn't need the aggro script.
aggro script: http://pockethouse.wordpress.com/vx/battler-stat-aggro/
edit: Nevermind I figured it out, I realized I could get YF's status script and have a state that happens at the start of the battle on a character that changes his odds to 200 or something. Didn't need the aggro script.
Pages:
1














