OK, I need some help with adding a weapon cycle to a HUD I've edited, and a bit of help on displaying the actual HUD. I've got the HUD mainly sorted, but here's what I've got for the weapon cycle:
Then after that I need some help with the code. What's the code for changing the main player' equiped weapon?
Then the actual HUD. At the moment, I have the code for the hud_sprite at all the right points in Spriteset Map (i.e. @hud_sprite.dispose, @hud_sprite.update) but the HUD (which is for my evented ABS) doesn't update the health bar unless you go in and out of the menu. In other words, until Scene_Map updates. How can I make the HUD update constantly?
Well, theres my two questions, hope someone can help. Thanks in advance.
Code:
# If Q button was pressed
if Input.trigger?(Input::L)
# If event is running, or menu is not forbidden
unless $game_system.map_interpreter.running? or
$game_system.menu_disabled
Then after that I need some help with the code. What's the code for changing the main player' equiped weapon?
Then the actual HUD. At the moment, I have the code for the hud_sprite at all the right points in Spriteset Map (i.e. @hud_sprite.dispose, @hud_sprite.update) but the HUD (which is for my evented ABS) doesn't update the health bar unless you go in and out of the menu. In other words, until Scene_Map updates. How can I make the HUD update constantly?
Well, theres my two questions, hope someone can help. Thanks in advance.