When the Move Timer fires the event, it calls the Enemy Step Render script. When there're no more renders to show in the Enemy Step Render script, call the Middle Door Attack script. If the attack is cancelled or defended, the Move Timer script is called to restart the timer.
Using this approach, I created a functional character. I can reuse these scripts to create more characters without having to rewrite code lines for each character's script.













0 comments