dangoyette
New member
I'm using a behavior that checks whether one character can see another. I'm a little concerned this will get expensive with many characters active at the same time, and it's really not critical that the character respond immediately. So I was thinking it would be fine if the "Can See" check was only evaluated periodically, maybe every .25 seconds, maybe every .5 seconds.
I think I can set this up by simplying keeping track of a time and a state within the conditional, such that the condition returns whatever it's previous state was until enough time has passed to reevaluate the condition. That seems simple enough, but I wondered whether anything was built into Behavior Designer than does this automatically, some kind of evaluation interval for a given condition?
Thanks.
I think I can set this up by simplying keeping track of a time and a state within the conditional, such that the condition returns whatever it's previous state was until enough time has passed to reevaluate the condition. That seems simple enough, but I wondered whether anything was built into Behavior Designer than does this automatically, some kind of evaluation interval for a given condition?
Thanks.