Advertisement
Guest User

Untitled

a guest
May 10th, 2015
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1.  
  2. #library "WIND"
  3.  
  4. script 1 enter
  5. {
  6. str class = "AmbientSound";
  7.  
  8.  
  9. delay(1);
  10.  
  11. do {
  12. delay(1);
  13. int x = GetActorX(0);
  14. int y = GetActorY(0);
  15. int z = GetActorZ(0) + 1.0;
  16. int angle = GetActorAngle(0) >> 8;
  17.  
  18. }
  19. until (Spawn("AmbientSound", x, y, z, 1516));
  20. Thing_Activate(1516);
  21. //SetThingSpecial(1516,1, 100,0);
  22. //delay(1);
  23. }
  24.  
  25. script 2 enter
  26. {
  27. While (1)
  28. {
  29. If (CheckActorCeilingTexture(0, "F_SKY1"))
  30. {
  31. Thing_Activate(1516);
  32. SetThingSpecial(1516,1, 125,0);
  33. //SetMusic("d_shawn", 0);
  34. }
  35. Else
  36. {
  37. Thing_Activate(1516);
  38. SetThingSpecial(1516,2, 25,0);
  39. //SetMusic("d_runnin", 0);
  40. }
  41. Delay(1);
  42. }
  43. Delay(1);
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement