Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

2 Questions about XP and VX

JoneQ

Member

Hello, i'm here first time registered... but i was there as guest ^^.. nvm..

1 :scruff: ). How to reset step's count in XP and VX ?
2 :smoke: ). How to make VX to hold more than 20 pictures ?

Q :specs: ): Do u tried to make an script ?
A :scruff: ): I don't know ruby, but i was looking for line that call's step count reset and i know how to call that script then.

Q :specs: ): Did u tried to edit limit for pictures in RPG Maker ?
A :smoke: ): Yes, i was looking for that, but here's nothing like that
 
1. Do this in an event:

(Call script)
$game_party.steps = 0

Should work, I think. For XP, at least.

2. It can't hold more pics without a script (although any more than 20 is really going to lag your game).
 
For XP or VX, you need a little piece of code :
Code:
class Game_Party

  attr_writer :steps

end
and use the call script :
$game_party.steps = 0

[shame on me... (writter => writer]
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top