Hi guys, does anyone know how I would make the player use a skill in QABS from a common event instead of a hotkey
This is the code to use a skill from an event which is pretty easy.
var chara = this.character();
chara.useSkill(2);
But I have no clue how to apply that to a common event. simply changing the var chara to gameActors.actor was my hope of a quick fix but it doesn't work. The error I get is useSkill is undefined.
Plugin
This is the code to use a skill from an event which is pretty easy.
var chara = this.character();
chara.useSkill(2);
But I have no clue how to apply that to a common event. simply changing the var chara to gameActors.actor was my hope of a quick fix but it doesn't work. The error I get is useSkill is undefined.
Plugin