Patrefans
shaunjs from patreon
shaunjs patreon

ARPG Episode 27 - Enemy Damage

🕑 Added 2020-09-11 16:35:47 +0000 UTC
ARPG Episode 27 - Enemy Damage

Comments

It was just simpler and faster for the sake of the video (we only have one attack that can deal damage) but you absolutely could do it that way. You would call them simply by writing the variable you wanted to use in place of the number.

When you did the "HurtEnemy" script in the "CalcAttack" function, why did you set the damage (5) and knockback (10) there? Could you do them as variables, and if so, where? In the oPlayer create event? If so, how would you call them?


More Creators