- Joined
- Oct 29, 2016
- Messages
- 22
- Reaction score
- 2
- Primarily Uses
Trying to make a character invisible with a state and than visible when a state wares off.
to do this I want to force an action when a state wares off.
This is using Yanflys state and buff plugins.
<Custom Leave Effect>
var skill = 93;
var target = -2;
BattleManager.queueForceAction(user, skill, target);
</Custom Leave Effect>
For some reason nothing happens when this is executed.
Im not getting any errors in the editor either.
I'm assuming that User is the actor that this state is happening to.
I've seen other users use scripts like this but I cant get this to work.
Am i missing a plugin or something?
Thanks.

to do this I want to force an action when a state wares off.
This is using Yanflys state and buff plugins.
<Custom Leave Effect>
var skill = 93;
var target = -2;
BattleManager.queueForceAction(user, skill, target);
</Custom Leave Effect>
For some reason nothing happens when this is executed.
Im not getting any errors in the editor either.
I'm assuming that User is the actor that this state is happening to.
I've seen other users use scripts like this but I cant get this to work.
Am i missing a plugin or something?
Thanks.
