Hi guys, i'm building a proyect to finding treasures, adventure type game, in the land there enemies of course that goes an attack you.
So i build a funtion that lead the bad guys (actor class enemies) to the main actor class and a fuction that record all main actor actions
//This fuction what it does, saving in any simple db all the actions
of the main actor in order we learn where the main actor is moving we updating any 5 sec
StartRecordingMainActorActions(TVActor mainActor)
//This fuction what it does lead kwon bad guys where main actor is and follow there an attack
MoveBadGuy(TVActor mainActor, TVActor badGuy,TV_3DVector vecInitialPositionbadGuy)
Ok here is the question i try with TVAI (probably to newbie to know how to use it :p) but i only know the points of the land and the fastes way to get the main actor.
So in order to make it more fun to the player we need know what the user (human player) is doing with the main actor, normally is a repetive behavior because first time player aways do the same tactics that works in past. I tested with several people and somehow i find a pattern of first time players in my game.
For example main actor always attacks from behind, the third time user do that attack to the badbuy, the badguy will know that and change the action, so third times will no longer work for user (human player) and make user to think in another plan of attack like attack front or attack moving or any other.
So any ideas to build a inference motor and production rules because knowledge database we all ready know it,any help would be great or tip. Perhaps there a way in TVAI objects.
Here are some samples


thanks