# AS2 RT Battle System

**URL:** <https://forum.kirupa.com/t/as2-rt-battle-system/275823>\
**Category:** programming\
**Created:** [November 19, 2008, 2:03am UTC](https://forum.kirupa.com/t/as2-rt-battle-system/275823 "2008-11-19T02:03:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jephz](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@Jephz](https://forum.kirupa.com/u/Jephz)\
**Post date:** [November 19, 2008, 2:03am UTC](https://forum.kirupa.com/t/as2-rt-battle-system/275823/1 "2008-11-19T02:03:52Z")

</div>

Hey dudes, I’m currently developing a rpg similiar to “Hero RPG” (you can play it on Armour Games) and I need some help with the battle system.

Basically, I have a “enemyTiger” MC and the code for attacking, powers, etc. are all on the main timeline. Now, I want to duplicate “enemyTiger” (lets say 3 copies) and give every one of the three copies the same code, but only if they are in the same “monster” category. I don’t know how to reach them…I don’t want to have to type a code for every instances, like one for enemy1, one for enemy2, etc. Just want to do it like a code for “enemy”+number.

Can anyone help me out?
