08.05.2015, 13:05
Hello there,
I am working on a small A.I. for npc behavior. With the knowledge i have now i would end up
having alot of
and
and so on..anything i can find in wiki's 'Control Structures' page actualy.
Obviously i want to script this as short as possible so the npc doesnt take to much time to 'decide' something.
My question is, how would a decision tree like below look like in pawn ? How would you do it ? and like i stated before without too many unnecessary structures.
Note: Dont get me wrong im not being lazy here waiting for someone to write an entire script. Just an opinion
and/or good basic structure shouldnt be too much to ask.
Thanks in advance.
your Artificial Intelligence pedestrian
I am working on a small A.I. for npc behavior. With the knowledge i have now i would end up
having alot of
pawn Код:
if(blabla
pawn Код:
case : blabla
Obviously i want to script this as short as possible so the npc doesnt take to much time to 'decide' something.
My question is, how would a decision tree like below look like in pawn ? How would you do it ? and like i stated before without too many unnecessary structures.
Note: Dont get me wrong im not being lazy here waiting for someone to write an entire script. Just an opinion
and/or good basic structure shouldnt be too much to ask.
Thanks in advance.
your Artificial Intelligence pedestrian