I would like for an AI to do 1 of 3 attacks (punching, highpunching and kicking) which requires to turn an event group on, to set an animation and play a sound, the events for an attack are
When A is released : Sprite set animation to Punch_Player, set DamageSpawningGroup active, play sound Punch
thats how an attack works in my game, I would like that when the conditions are met 1 from 3 attacks will be done, how can I make this happen? I was thinking about a time based ''randomness'' where every a timer set to 0.05 seconds will turn an event group on and another one off, + turning another 0.05 timer on and so on, so that every 0.05 seconds when the same conditions are met, there will be a different result, but I suppose this would be cpu intensive and event consuming