Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Legacy:Evolution/ETVSA

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
  1. //-----------------------------------------------------------
  2. //
  3. //-----------------------------------------------------------
  4. class ETVSA extends Info;
  5.  
  6. function PostBeginPlay()
  7. {
  8. 	local Mutator M;
  9. 	local EvoETV EETV;
  10.  
  11. 	super.PostBeginPlay();
  12. 	for (M=Level.Game.BaseMutator;M!=None;M=M.NextMutator)
  13. 	{
  14. 		if (EvoETV(M)!=None)
  15. 			return;
  16. 	}
  17. 	EETV = Spawn(class'EvoETV');
  18. 	if (Level.Game.BaseMutator!=None)
  19. 		Level.Game.BaseMutator.AddMutator(EETV);
  20. 	else Level.Game.BaseMutator=EETV;
  21. }