beginscript; label Wait: if (GetState() != 0 && UnitDead() != 1) { SetNumLives(1); //ExcTargetType(0xffffffff); //IncTargetType(0x2); EndFrame(); goto Start; } EndFrame(); goto Wait; label Start: SetVar(0,Rnd()); // Weapon select % SetVar(0,Rnd()); // Attack % label AttackAI: IncludeUTarget(0x6c01); SelectWeapons(1,0,0); label End: EndFrame(); goto End; endscript; $