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.

Changing the Equipment Requriment script.

ogh

Member

let me see if i undertood what you want...

in @style_needed = '' you want place a variable? is it?

if it is your request, just add a code under the class you want use the variable like this:

Code:
Class name_of_the_class
Variable = content

the variable must iniciate with a uper case letter. if the content is a string (letter), you need use the "" (ex: Var = "string"), and if the content is a numerical valor, the "" isnt needed (ex: Var = 1).

next, in @style_needed, add the variable (ex: @stat_needed = Var)
is this what you want?
 

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