- Joined
- Jun 15, 2014
- Messages
- 240
- Reaction score
- 41
- First Language
- English Spanish
- Primarily Uses
Hi!! I wanted to add a check when a certain skill is used to see if the Enemy Index number is X, then do something.
Im trying this to Check for first enemy in the troop. Of course it doesn't work =P
Any help? Thanks!!
Im trying this to Check for first enemy in the troop. Of course it doesn't work =P
Code:
if (target.$gameTroop.members()[0]) {
var text = '<CENTER>' + 'It goes through';
SceneManager._scene._logWindow.push('addText', text);
}
