Hello!
I am trying to implement a stealing mechanic where, if a skill is used, a common event checks which troop (or enemy, if possible?) the player is battling and then adds a specific item.
For this I would need a conditional branch and I have tried several variations of (34 being the troop ID):
$game_troop.troop_id = 34
But it always receive an error message. I don't have much of a clue of how RGSS works, so help would be much appreciated! 🙂
I am trying to implement a stealing mechanic where, if a skill is used, a common event checks which troop (or enemy, if possible?) the player is battling and then adds a specific item.
For this I would need a conditional branch and I have tried several variations of (34 being the troop ID):
$game_troop.troop_id = 34
But it always receive an error message. I don't have much of a clue of how RGSS works, so help would be much appreciated! 🙂