yeah interesting thought... hard to say what the best course of action is but what you are saying is as good an idea as i can think of... :P On Mon, Jul 27, 2009 at 2:17 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote: > Wasn't bad. I had to switch up my way of thinking but once I was in the > groove it was easy. I see some potential complexity issues. Let's say with > the kitties I have now I want to have 2 states at once, one for wander one > for look at player. Let's say I wanted to look at the player while > wandering. What would be the best way to do that? I was thinking to just > have multiple states that the kitty could be in. Maybe one would be > MovementState and the other would be LookingState. Does that sound right? > > > On Mon, Jul 27, 2009 at 1:18 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: > >> How do you feel about the state machine way of doing things? Is it good >> or bad or just different? >> >> Was converting very difficult? >> On Mon, Jul 27, 2009 at 1:08 PM, Apache User < >> dhapache@xxxxxxxxxxxxxxxxxxx> wrote: >> >>> User:korgath >>> >>> Message: finished converting the kitty to a simple state machine as Alan >>> recommended. removed kitties backing away when the player is close for now. >>> >>> <Files Changed> >>> U Scripts/Enemies/kitty.lua >>> >>> >>> >> >