define HELI 442

action NONECOPTER1 0 0 0 0 0
action NONECOPTER2 0 0 0 0 0
move HELEPATROL 200 0
useractor notenemy HELI 0
soundonce HELESOUND
ifaction 0 { ifcanseetarget ifcanshoottarget { action NONECOPTER1 move HELEPATROL geth getv } }
ifaction NONECOPTER1
{
ifactioncount 99999
{
getactor[THISACTOR].ang TEMP
addvar TEMP 128
setactor[THISACTOR].ang TEMP
action NONECOPTER2
}
}
else ifaction NONECOPTER2
{
ifactioncount 99999
{
getactor[THISACTOR].ang TEMP
addvar TEMP 128
setactor[THISACTOR].ang TEMP
action NONECOPTER1
}
}

enda
