Hi All,
I have been doing my best to make a unique piece of equipment that would allow the equipped actor to use two different items in one turn. Similar to W-item in FF7. I have made a little bit of progress, but I definitely need some help. So far my biggest lead seems to be utilizing this Script call:
Which can bring up the item menu whenever I call it, but if I try to use any item I get a "TypeError: Cannot read property 'setItem' of null". I guessing that this is because I'm calling the item menu and the game doesn't know which actor is calling it. But like I said, I'm guessing...
Regardless, I was wondering if anyone here knew of a way to properly call the battle version of the item menu through scripts. Or even a completely different way of getting this two item effect to work. Any help is greatly appreciated as always.
I have been doing my best to make a unique piece of equipment that would allow the equipped actor to use two different items in one turn. Similar to W-item in FF7. I have made a little bit of progress, but I definitely need some help. So far my biggest lead seems to be utilizing this Script call:
Code:
SceneManager._scene.commandItem();
Which can bring up the item menu whenever I call it, but if I try to use any item I get a "TypeError: Cannot read property 'setItem' of null". I guessing that this is because I'm calling the item menu and the game doesn't know which actor is calling it. But like I said, I'm guessing...
Regardless, I was wondering if anyone here knew of a way to properly call the battle version of the item menu through scripts. Or even a completely different way of getting this two item effect to work. Any help is greatly appreciated as always.