Hi,
getting bit crazy here- I´ve created FSM for this instanced enemy (shrimp). The principle is that there is one instanced string variable that stores the information of which state the shrimp is. This state is called as a function (using mapping of fuctions) every tick.
It works rather well for one enemy but the moment I add more of them, they all act as once- if one goes to idle, every other goes to idle. If one decides to walk, everyone decide to walk.
If anyone can please look at the file (the event sheet is Shrimp2) and point me out what I am missing, i would very much appreciate it.
Thank you!
https://www.dropbox.com/s/jfkycnv5ecesgtn/02Frogfish.c3p?dl=0