I currently working on a script and I'm just about done where it overwrites Window_BattleStatus and adds more detail for only one actor. Any way I face a problem where it stills display a cursor (See picture attached) and I can't seem to remove it. I understand it is a sub class of Window_Selectable and I tried changing it to being a sub class of Window_Base but that would require a bunch of modifications to the battle system. And I wish for this to work with others that use Window_BattleStatus. So does any one know how to remove the cursor with out changing its super class or at least re-size it to fit the whole window. I also attached the script.
Just add the update_cursor method to your window and don't use super. That way when the window tries to call the update_cursor method to get the size and position of the cursor it will get whatever you put in there like for example self.cursor_rect.empty
#--------------------------------------------------------------------------
# * Update cursor
#--------------------------------------------------------------------------
def update_cursor
self.cursor_rect.empty
end
If you want to resize it you need to set the cursor_rect like so:
self.cursor_rect = Rect.new(0, 0, 200, 24)
Let me know if that works out or if you need it explained any further.
Have a nice day.
Thanks TDS, I'll make sure to credit you.