RPG Maker VX Ace

RPG Maker VX Ace

Vlue's Script Compilation
Avdul 21 Jul, 2015 @ 3:27am
How can I bring up the crafting window on commmand. Hey Vlue ^^
I want to make an "event" ( Person, carfting-table, ...) call the crafting window insted of having it in the main menu. So I tried a script through said event to do the following:

$crafting_category = :craft
SceneManager.call(Scene_Crafting)

but its gives me an error saying:

Script 'Window.Selectable' line 373: NoMethodError occurred.
undefined method `<' for nil:NilClass

I am not sure if I misunderstood the command on the read me, but I thought since I can hide the "Crafting" from the main menu I can call it from other sources.

I would appreciate your help in this manner ^^
< >
Showing 1-4 of 4 comments
Starlight  [developer] 28 Jul, 2015 @ 9:15am 
Hey!
So, when you set the crafting category, it has to be one that's present in the CATEGORIES variable up at the top of the crafting script. (By default includes :Alchemy, :Blacksmith, etc.. etc..), double check spelling, case sensitivity, etc.
Avdul 29 Jul, 2015 @ 8:57am 
Ok Vlue, I tinkered with it a little bit using your help and was able to make it work for a single category ( i.e. :Alchemy ), but I don't know how to bring the whole menu as it appears in the main menu..

I tried:

$crafting_category = :Alchemy,:Tailor

$crafting_category = :Alchemy,Tailor

or even providing each of them in there own line like this:

$crafting_category = :Alchemy
$crafting_category = :Tailor

But I can't make them work, can you show me how I should write the command if I had this category:

CATEGORIES = [:Alchemy,:Tailor,:Carpenter,:Builder]
Starlight  [developer] 29 Jul, 2015 @ 10:29am 
It's either one category or all of them, and all would be:
SceneManager.call(Scene_CraftingAll)
Avdul 29 Jul, 2015 @ 5:33pm 
Oh...... I feel stupid now Q_Q

Regardless, thank you mate for your help ^^
< >
Showing 1-4 of 4 comments
Per page: 1530 50