show variables on screen rpg maker xp
#19
How are you using it? I made a skill that had a common event that increments Variable 1 and it works fine. What Event Variable are you using for your ammo? The code is set up for $game_variables[1] or Event Variable 1. If your ammo is a different one, you need to change it.

Otherwise, you''ll have to upload your project because it is working for me.

EDIT: here, try replacing your update_phase4_step6 with this. This is the part of the code that does common event things so it should make the Ammo count update exactly when it is changed.
Code:
#--------------------------------------------------------------------------
  # * Frame Update (main phase step 6 : refresh)
  #--------------------------------------------------------------------------
  def update_phase4_step6
    # Clear battler being forced into action
    $game_temp.forcing_battler = nil
    # If common event ID is valid
    if @common_event_id > 0
      # Set up event
      common_event = $data_common_events[@common_event_id]
      $game_system.battle_interpreter.setup(common_event.list, 0)
    end
    @yourhud.update
    # Shift to step 1
    @phase4_step = 1
  end
Reply }


Messages In This Thread
RE: show variables on screen rpg maker xp - by MechanicalPen - 10-18-2014, 07:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Scan skill should show states Tumen 5 9,211 05-02-2017, 03:33 AM
Last Post: DerVVulfman
   Display State Ranks in Status Screen Mel 3 7,412 04-02-2017, 12:46 AM
Last Post: marketing small business ideas
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 10,152 06-13-2016, 03:41 AM
Last Post: Starmage
   Custom Save/Load screen Raou 2 7,556 04-01-2015, 08:18 PM
Last Post: Raou
   Game Variables List for Copy/Paste JayRay 4 7,000 01-15-2015, 06:18 AM
Last Post: JayRay
   in FPLE touching events after battle causes rpg maker to crash ThePrinceofMars 1 5,503 11-27-2014, 09:11 PM
Last Post: MechanicalPen
   Script Request - Variables Specific Save File JayRay 2 5,109 04-28-2014, 05:15 AM
Last Post: JayRay
   Help with Shop Menu [RPG Maker XP] JackMonty 6 12,970 05-23-2013, 10:14 AM
Last Post: JackMonty
   Analyse show HP Bars Ace 12 16,849 12-28-2010, 04:39 PM
Last Post: Ace
   Showing the evade stat in the status screen corpsegirl 2 6,281 10-25-2010, 11:40 PM
Last Post: corpsegirl



Users browsing this thread: 4 Guest(s)