How do I create character defense enemy attack?
drive.google.com/file/d/17CGwDoKbdNZhSEef_34q04BtuA4KlSPq/view
Your question is incomprehensible.
Oh sorry, please open my project in layout 3 and event sheet 3, how to do player character defense enemy attack?
I made multiple changes.
*Turn the Attack off a Loop*
This way when it finishes you can calculate the damage then re attack again.
If Char.Def = 1 (True) then you want reduced damage, I reduced it by all 10.
I made multiple changes. *Turn the Attack off a Loop* This way when it finishes you can calculate the damage then re attack again. If Char.Def = 1 (True) then you want reduced damage, I reduced it by all 10.
And then in char.Def must in number or boolean?
So, char.Defense in instance variable type must boolean or number?
Char.Defense is your instance variable (Boolean) you already created
> I made multiple changes. > > *Turn the Attack off a Loop* > This way when it finishes you can calculate the damage then re attack again. > > If Char.Def = 1 (True) then you want reduced damage, I reduced it by all 10. > > So, char.Defense in instance variable type must boolean or number?
> I made multiple changes.
>
> *Turn the Attack off a Loop*
> This way when it finishes you can calculate the damage then re attack again.
> If Char.Def = 1 (True) then you want reduced damage, I reduced it by all 10.
drive.google.com/file/d/1PTlP4BZa1u78ThPowLOhp7RNeJ7ZFeGq/view
I had do like that, why is still can not?
I had do like that, why still can not? (please check my project).
I had do like your example, why can not?
Did you stop the loop on your attack animation?
Stop the loop is in own character attack animation or enemy attack animation?
The Enemy
-On attack animation Finished - never happens if you have the animation loop
Develop games in your browser. Powerful, performant & highly capable.
I had already turn off that loop, but why still can not?
I had turn off that but is still can not.