Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Display State Ranks in Status Screen
I think I need your help.

I want to show the state ranks of my actors in the status screen (silence 100%, paralyze 70%...and so on)

I can do it with the elements like that

self.contents.draw_text(115, 351, 176, 32, "#{(@actor.element_rate(3)).to_i}%", 2)

and also the names of the states

self.contents.draw_text(115, 329, 48, 32, $data_states[2].name)

but I'm not able to figure it out how to do the same thing with the rank itself.

Maybe someone can give me a hint. ^^
Reply }
You know, you don't need those parentheses in red "#{(@actor.element_rate(3)).to_i}%". This would be more than enough to print it on screen "#{@actor.element_rate(3).to_i}%" as part of the window contents.

From outside the actor class...
$game_party.actors[Actor's Index].state_ranks[State Index]

Once you have a specific actor...
@actor.state_ranks[State Index]
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9


The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }
Okay, that works.

Thank you :)

Usually it showed only numbers from 1 - 6 but I managed it to show the %.
Reply }
My brother recommended I would possibly like this web site. He was totally right. This publish actually made my day. You cann't believe simply how much time I had spent for this information! Thanks!
Reply }

Possibly Related Threads…
Thread Author Replies Views Last Post
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 13,908 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Display some uncommon values Melana 6 7,923 08-15-2017, 05:38 PM
Last Post: Melana
   Multi Attack & Combo Display Keeroh 10 12,863 05-15-2017, 06:39 PM
Last Post: DerVVulfman
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 9,488 06-13-2016, 03:41 AM
Last Post: Starmage
   Atoa Custom Battle System: Popup when status change Noctis 6 9,761 02-01-2016, 12:52 AM
Last Post: Noctis
Question  Lycan ABS - Weapon display Jetboy 4 6,639 07-14-2015, 06:02 AM
Last Post: DerVVulfman
   Custom Save/Load screen Raou 2 7,114 04-01-2015, 08:18 PM
Last Post: Raou
  Icon Display 1.0 scripts makes events impossible to go to events, which are passable Djigit 0 3,707 01-03-2015, 09:11 PM
Last Post: Djigit
   show variables on screen rpg maker xp ThePrinceofMars 22 31,142 10-19-2014, 08:01 PM
Last Post: ThePrinceofMars
   [RMXP]Game Over and Atoa Battle Status mishaps firestalker 8 10,085 08-07-2014, 01:59 AM
Last Post: firestalker

Users browsing this thread: