beginscript; label Wait: if (GetState() != 0) { SelectWeapons(0,1,0); ExcTargetType(0xffffffff); ExcludeGTarget (1); SetFollowWaypoint(38,0,0); EndFrame(); goto AttackAI; } EndFrame(); goto Wait; label AttackAI: if (PlayerInRange(800)) { IncludeUTarget(0x6c01); } else { SetFollowUnit(Apc_G04_01_Scr,100,200); } EndFrame(); goto AttackAI; label End: EndFrame(); goto End; endscript; $