action ANAZIWALK  0 4 8 1 15
action ANAZISHOOT 33 2 1 1 10
action ANAZIDYING 36 5 1 1 10
action ANAZIDEAD 40 1 1 1 10
action ANAZISTOP 0 2 8 1 25
action ANAZIPAIN 35 1 1 1 15

move NAZIWALK 70
move NAZISTOP 
move NAZIPAIN 10

ai AINAZIWALK ANAZIWALK NAZIWALK faceplayer seekplayer
ai AINAZISHOOT ANAZISHOOT NAZISTOP faceplayer 
ai AINAZIDYING ANAZIDYING NAZISTOP 
ai AINAZISTOP ANAZISTOP NAZISTOP 
ai AINAZIPAIN ANAZIPAIN NAZIPAIN faceplayer

useractor enemy NAZI fall state noshade

ifai NO { strength 5 sizeat 45 45 cstator 257 ai AINAZIWALK }
ifhitweapon { ifwasweapon RPG { addkills 1 guts JIBS6 10 sound SQUISHED killit } else ifwasweapon RADIUSEXPLOSION { addkills 1 guts JIBS6 10 sound SQUISHED killit }
else ifdead { addkills 1 guts JIBS6 10 ai AINAZIDYING } else { spawn BLOOD guts JIBS6 3 ai AINAZIPAIN } }
ifai AINAZIWALK { ifrnd 6 ifcansee ai AINAZISHOOT else ifp pdead ai AINAZISTOP } 
ifai AINAZISHOOT { ifactioncount 2 { resetactioncount } else ifcount 40 ai AINAZIWALK }  
ifai AINAZIDYING { cstat 0 ifactioncount 4 { action ANAZIDEAD cstat 0 move 0 } }
ifai AINAZISTOP { ifp palive ifcansee ai AINAZIWALK }
ifai AINAZIPAIN ifcount 4 ai AINAZIWALK
enda