beginscript; SetGlobalVar(0,0); SetVar(0,0); label Wait: ExcTargetType(0xffffffff); if (GetGlobalVar(1) == 1 || PlayerInRange(600) != 1) { SetGroupFollowConvoy(2, 0, 0); SetGroupConvoySpacing (200, 50); IncTargetType(0x2); EndFrame(); goto Wait1; } EndFrame(); goto Wait; label Wait1: if (GetFollowMode() == 3 && GetGlobalVar(1) > 0) { SetFollowWaypoint(43,0,0); SetFollowRange(0); EndFrame(); goto Wait2; } EndFrame(); goto Wait1; label Wait2: if (GetFollowMode() == 3 && GetGlobalVar(1) > 0) { EndFrame(); goto Check; } EndFrame(); goto Wait2; label Check: if (GetPlayerAmmo (0) == 0 && GetVar(0) == 0) { SetVar(0,1); SpawnPickup(0x2804); } else if (GetPlayerAmmo (0) >= 32 && GetVar(0) == 1) { SetVar(0,2); } else if (GetPlayerAmmo (0) == 0 && GetVar(0) == 2) { SpawnPickup(0x2805); SetVar(0,3); EndFrame(); goto End; } EndFrame(); goto Check; label End: EndFrame(); goto End; endscript; $