Guest User

Untitled

a guest
May 14th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //=============================================================================
  2. // WaveController.
  3. //=============================================================================
  4. class WaveController expands Actor;
  5. struct Waves
  6. {
  7. var() float WaveLength;
  8. var() name WaveTag;
  9. };
  10.  
  11. var() Waves Wave[8];
  12. var() float StartTime;
  13. var() bool bHungarian;
  14. var int i;
  15.  
  16. function BeginPlay()
  17. {
  18. i=0;
  19. SetTimer(StartTime, false);
  20. if(bHungarian)
  21. {
  22. BroadcastMessage(StartTime$ " msodperc mlva indul az els hullm");
  23. }
  24. else
  25. {
  26. BroadcastMessage(StartTime$ " seconds until the first wave starts");
  27. }
  28. }
Add Comment
Please, Sign In to add comment