I need to get ID of a selected skill via script call which then would trigger a common event that will change certain variables based on what u've chosen.
Is it possible?
depends on when you want to execute that script call
why not simply trigger the common event directly by skill effect?
please give more details on what you really want to do instead of just how you want to do something unknown and we should be able to tell you how to proceed.
Because I don't want to create a separate common event for each skill. All of the skills will trigger the same one. Then it calculates which have been used and applies effects accordingly.
in that case you shouldn't need a script call at all, a simple control variable : game data : last used skill should be enough
Always forget about Game Data :0
Thx, this should work
Makes sense. I just got used to using scripts for everything.