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.

[RMVX] Obtain array name class

From

Member

I need a way to get the array of class names to be used later as a command ...
The code used by me would be this:
Code:
command = []

for ??? in ???

comman.push(???)

end

@command_window = Window_Command.new(300, command, ... ... etc
(obviously not in the script I put '???' xD)

Thanks for any replies :biggrin:
 

Atoa

Member

In VX the window command have an readable variable that stores the commands, so just call 'window_instance.commands'
where "window_instance" is the instance that keep the window info.
on your example, it's "@command_window.commands"
 

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