Side view fighting game (basically), with Player and Enemy.
For the enemy's in-game behavior, I want:
Between 3-9 seconds while the enemy is playing "Idle" animation, the enemy attacks.
My problem: The enemy attacks correctly, but ALWAYS on 3 second intervals--NOT randomly between 3 and 9 seconds. Where is my issue?
EVENT 1 CONDITIONS
Every random(3,9) sec.
Enemy anim = "Idle"
Set AttackType = 1
EVENT 2 CONDITIONS
AttackType = 1
Set Animation to "Attack1"
Set AttackType = 0