Greetings.
I'm working on a skill that lets the caster cast almost any skill featured in game. But, I can't figure how could I catch any Skill ID and compare it to a SkillID variable I'm using to decide which skill to use. And then, if the skill is cast, how could I cast it to an specific target? It may be random since I don't choose a target when casting the main skill, but, for other skills, how could this work?
I'm working on this using event handling. I looked at the scripts, but I couldn't find a function that lets me pass as arguments an specific Skill ID and a Target ID, and thus, since I'm still green at scripting, I'm asking for some help.
Thanks in advance.