How would this 'decision tree' look like in pawn ?
#1

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
pawn Код:
if(blabla
and
pawn Код:
case : blabla
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
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)