Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function BossList()
- {
- local array<class<KFPawn_Monster> > BossList;
- local byte RandChoice;
- if ( WaveNum == 5 )
- {
- RandChoice = Rand(2);
- if ( RandChoice == 0 )
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- if ( RandChoice == 1 )
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- if ( WaveNum == 10 )
- {
- RandChoice = Rand(2);
- if ( RandChoice == 0 )
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- if ( RandChoice == 1 )
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- }
- if ( WaveNum == 15 )
- {
- RandChoice = Rand(4);
- if ( RandChoice == 0 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- }
- if ( RandChoice == 1 )
- {
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- }
- if ( RandChoice == 2 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- if ( RandChoice == 3 )
- {
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- }
- if ( WaveNum == 20 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- }
- if ( WaveNum == 25 )
- {
- RandChoice = Rand(4);
- if ( RandChoice == 0 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- }
- if ( RandChoice == 1 )
- {
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- if ( RandChoice == 2 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedFleshpoundKing_Boss');
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- if ( RandChoice == 3 )
- {
- BossList.AddItem(class'KFPawn_ZedHans_Boss');
- BossList.AddItem(class'KFPawn_ZedPatriarch_Boss');
- BossList.AddItem(class'KFPawn_ZedBloatKing_Boss');
- }
- }
- NumAISpawnsQueued += SpawnManager.SpawnSquad( BossList );
- SpawnManager.TimeUntilNextSpawn = SpawnManager.CalcNextGroupSpawnTime();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement