//TestU2_Find inert 1 debugmode 3 debugaiflags 240 sleep 3.0 //findactor u2.alarmtrigger 0.0 4096.0 0 0 0 gotolabel useit // match first within 4K units, no vis test //findactor u2.alarmtrigger 0.0 4096.0 1 0 0 gotolabel useit // match closest within 4K units, no vis test //findactor u2.alarmtrigger 0.0 4096.0 2 0 0 gotolabel useit // match furthest within 4K units, no vis test //findactor u2.alarmtrigger 0.0 4096.0 3 0 2 gotolabel useit // match all within 4K units, no vis test, max 2 //findactor u2.alarmtrigger 0.0 0.0 2 0 0 gotolabel useit // match furthest, no vis test //findactor u2.alarmtrigger 0.0 0.0 2 1 0 gotolabel useit // match furthest, must be visible turntoactor alarmtrigger0 0 //sleep 1.0 findactor u2.alarmtrigger 0.0 0.0 2 2 0 gotolabel useit // match furthest, must be visible in Pawn's fov message "couldn't find one!" sleep :useit gotoactor found 64.0 use found sleep 3.0 unuse found message "done" sleep