Hello!
I was working on a new feature for my IGMC game entry that requires events to have self variables and switches so I used Yanfly's SelfSwVar plugin which allows for that. Earlier I had a short script:
$gameParty.gainItem($dataItems[$gameVariables.value(22)], 1)
This piece of code allows me to give the player an item based off of a variable.
It worked fine before I added the Yanfly plugin. Is there anyway I can have this piece of code work with the plugin? It's not essential, but would be a gigantic time saver if I could have this issue fixed as since the project is for IGMC 2018, I have a short deadline to meet.
Any help is welcome! Thank you!~ 👋
I was working on a new feature for my IGMC game entry that requires events to have self variables and switches so I used Yanfly's SelfSwVar plugin which allows for that. Earlier I had a short script:
$gameParty.gainItem($dataItems[$gameVariables.value(22)], 1)
This piece of code allows me to give the player an item based off of a variable.
It worked fine before I added the Yanfly plugin. Is there anyway I can have this piece of code work with the plugin? It's not essential, but would be a gigantic time saver if I could have this issue fixed as since the project is for IGMC 2018, I have a short deadline to meet.
Any help is welcome! Thank you!~ 👋