The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Kokowam on August 16, 2008, 02:18:38 PM

Title: [RESOLVED] Calling methods using the "call script" command.
Post by: Kokowam on August 16, 2008, 02:18:38 PM
Topic pretty much says it all. How would I go about doing this?

I was thinking along the lines of something like...

@window_battle = $Window_BattleStatus.new
@window_battle.refresh


But RMVX says "no" and Zeriab showed an example to me but I forgotted.
Title: Re: Calling methods using the "call script" command.
Post by: modern algebra on August 16, 2008, 04:20:53 PM
I would assume RMVX is saying no because you have a $ sign in front of your class name. Try it without that.
Title: Re: Calling methods using the "call script" command.
Post by: Kokowam on August 17, 2008, 02:38:45 AM
All right, I'll try it when I get back on my RM computer.

EDIT: Works, MA! :D I don't know why I added the $ sign :P