Legacy:Evolution/ETVSA - Unreal Wiki

# Legacy:Evolution/ETVSA

### From Unreal Wiki, The Unreal Engine Documentation Site

< Legacy:Evolution

1. //-----------------------------------------------------------
2. //
3. //-----------------------------------------------------------
4. class ETVSA extends Info;
6. function PostBeginPlay()
7. {
8. local Mutator M;
9. local EvoETV EETV;
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. }

##### Views

- Legacy
- Discussion
- Current revision

##### Search