- Joined
- Oct 26, 2015
- Messages
- 43
- Reaction score
- 2
- First Language
- English
I know how to get an actors target.
BattleManager._subject.inputtingAction().makeTargets()[0]
Though there is probably a better way.
How do I get the enemy's target?
The enemy doesn't have the inputtingAction function, and I cannot find an equivalent function.
This code is being written in a separate .js file (a plugin), so as far as I know I don't have access to user and target variables (I wish I did).
I'm making a function that is called when a skill activates.
BattleManager._subject.inputtingAction().makeTargets()[0]
Though there is probably a better way.
How do I get the enemy's target?
The enemy doesn't have the inputtingAction function, and I cannot find an equivalent function.
This code is being written in a separate .js file (a plugin), so as far as I know I don't have access to user and target variables (I wish I did).
I'm making a function that is called when a skill activates.
Last edited by a moderator:
