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.

character and state ID's?

Skill Shop

Ive noticed that with that ^^ and other scripts it asks you to replace the id's of characters with your own... and my question to everyone is, How do I know what my state/character id is?

$game_temp.shop_goods = [skill_ids]
$scene = Scene_SkillShop.new

replacing skill_ids with the skill ids you want the shop to sell
 

khmp

Sponsor

He's looking for you to supply the ids(indexes) of which skills to show in the shop_goods. So for example you have 10 skills in your database you want the last five to show in the shop goods.

$game_temp.shop_goods = [5..9]
$scene = Scene_SkillShop.new

but you could have a list like the following as well:

$game_temp.shop_goods = [0,2..4,8]

Good luck with it Adremmalech! :thumb:
 

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