Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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 8,286 05-02-2017, 03:33 AM
Last Post: DerVVulfman
   Display State Ranks in Status Screen Melana 3 6,731 04-02-2017, 12:46 AM
Last Post: marketing small business ideas
   RMXP SKill animations too bright (overlaying the battle screen) Starmage 4 9,206 06-13-2016, 03:41 AM
Last Post: Starmage
   Custom Save/Load screen Raou 2 6,928 04-01-2015, 08:18 PM
Last Post: Raou
   Game Variables List for Copy/Paste JayRay 4 6,265 01-15-2015, 06:18 AM
Last Post: JayRay
   in FPLE touching events after battle causes rpg maker to crash ThePrinceofMars 1 4,994 11-27-2014, 09:11 PM
Last Post: MechanicalPen
   Script Request - Variables Specific Save File JayRay 2 4,531 04-28-2014, 05:15 AM
Last Post: JayRay
   Help with Shop Menu [RPG Maker XP] JackMonty 6 11,830 05-23-2013, 10:14 AM
Last Post: JackMonty
   Analyse show HP Bars Ace 12 14,874 12-28-2010, 04:39 PM
Last Post: Ace
   Showing the evade stat in the status screen corpsegirl 2 5,573 10-25-2010, 11:40 PM
Last Post: corpsegirl



Users browsing this thread: