sounds good. We are on the right track On Mon, Jul 27, 2009 at 7:47 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: > hey i asked at work and found out that how our AI works is that each person > can be in multiple states (kind of) at one time. > > how it works at work is we have multiple state machines on a person, and > they are all running at once, so each of those state machines can be in a > different state (thus the multiple states at a time). > > that might be more than we need, there's a pretty GUI interface to do the > state based logic at work, but here you have to code it all manually in lua > so it might not be worth the extra complexity ::shrug:: > > whatever you think is best probably will work, but im a big fan of the > state based logic, it works pretty well! (: > > > On Mon, Jul 27, 2009 at 3:16 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote: > >> Ok cool. I will continue doing things the way I have so far until a better >> method comes along. >> >> >> On Mon, Jul 27, 2009 at 2:19 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote: >> >>> 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 >>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >