These are two simple script call I tried which are triggered inside a common event using Yanfy Plugins and they don't do anything.
◆Comentario:FORCE A SKILL
◆Script:$gameVariables.setValue(1, target.index());
: :var index = v[1]
: :$gameParty.members()[index].forceAction(14, -1);
: :BattleManager.forceAction($gameParty.members()[index]);
◆Comentario:-----------------------------
◆Script:$gameParty.members()[1].forceAction(14, -1);
: :BattleManager.forceAction($gameParty.members()[1]);
Yet I use this event command instead it works.
◆Force action:Charlotte, Rogue Card, Random
I'm using script calls cause they are much more flexible and don't require making a huge list of conditional branches.
Any thoughts?
◆Comentario:FORCE A SKILL
◆Script:$gameVariables.setValue(1, target.index());
: :var index = v[1]
: :$gameParty.members()[index].forceAction(14, -1);
: :BattleManager.forceAction($gameParty.members()[index]);
◆Comentario:-----------------------------
◆Script:$gameParty.members()[1].forceAction(14, -1);
: :BattleManager.forceAction($gameParty.members()[1]);
Yet I use this event command instead it works.
◆Force action:Charlotte, Rogue Card, Random
I'm using script calls cause they are much more flexible and don't require making a huge list of conditional branches.
Any thoughts?