I do not have a script to show for i could not come across a situation like this so here it goes:
C# script
So i have my 2D sprite enemy tower and i would like the tower to shoot 5 arrows with 2 second pause between each firing at my guy who i can only move left or right, Now those times that enemy tower fires i would also like it to be random, in the range of 0-60 seconds. After tower reloads and waits for another random time to fire my rigidbody arrow sprite.
I know i cant expect someone to hold my hand and do this for me but all scripts i have come across was the player firing the arrows or enemy player usually in 3D.
Any help of guidance is very much helpful, im learning as we go.
Aucun commentaire:
Enregistrer un commentaire