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.

Game variables into scripts

ghinsu

Member

I found a tax script http://www.rmrevolution.com/34/tax-script/ and i wonder if i can make it so the script will take my ingame variable (i don't know how to explain)

"Instructions
Place script above main, below everything else and it should work fine goofy To use the sales tax: call script: $game_system.tax = TAXRATE"

well i want to make it like this: $game_system.tax = [ingame variable] so that you can make a variable that is like your merchant skill (but this can't make it so that you have negative inputs, because variable can't be negative) anyway you know what i mean, can it be done?

Oh, and another question, can an ingame script interact with windows? i mean you open a box and with that box you open my computer for example?
 

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