Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #include "zcommon.acs"
  2.  
  3. int mus;
  4.  
  5. Script 1 Open
  6. {
  7. mus = 1;
  8. Thing_hate(1,2,6);
  9. Sector_SetFloorPanning(2,32,0,40,0); //UAC Carpet room
  10. }
  11.  
  12. Script 2 Open
  13. {
  14. if (GetActorProperty (1, APROP_HEALTH) <= 25)
  15. print (s:"I am hurt, coming back to Healing pod!");
  16. delay(35);
  17. restart;
  18. }
  19.  
  20. Script 3 Enter
  21. {
  22. SetFont("BIGFONT");
  23. HudMessage(s:"What's happening?";
  24. HUDMSG_TYPEON, 1, CR_RED, 0.5, 0.5, 3.0);
  25. delay(35*6);
  26. HudMessage(s:"Let's move back where it all started";
  27. HUDMSG_TYPEON, 1, CR_RED, 0.5, 0.5, 3.0);
  28. delay(35*5);
  29. Light_Fade (const:3, 160, 35*3);
  30. Light_Fade (const:4, 208, 35*3);
  31. Light_Fade (const:5, 128, 35*3);
  32. }
  33.  
  34. //Music change script
  35.  
  36. script 14 Open
  37. {
  38. mus = mus + 1 ;
  39. delay (2);
  40. acs_execute (15,0,0,0,0);
  41. }
  42.  
  43. script 15 (void)
  44. {
  45. if (mus==1)
  46. {
  47. setmusic ("FNAF3MEN");
  48. mus = mus + 1 ;
  49. }
  50. if (mus==2)
  51. {
  52. setmusic ("*");
  53. }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement