Board Thread:Questions and Answers/@comment-1490123-20141003000945/@comment-25481720-20141111013219

My AI's arent really needing to be smart, they just move randomly, and shoot when they can again( on my game Fight) the way I do it is

Move=rnd(100)

If move==1 then up=1:down=0

if move==2 then down=1:up=0

if down==1 then AIPOSY=AIPOSY+AISPD

if up==1 then AIPOSY=AIPOSY-AISPD

If shoot==0 then shoot==1

if shoot==1 then spofs bullet,bulx,buly

and so on