Advertisement
skroton

Untitled

Jun 1st, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.72 KB | None | 0 0
  1. script "DankScrollsKek" DEATH
  2. {
  3.     if(GameType() == GAME_NET_COOPERATIVE){
  4.       Terminate; }
  5.     Else if(GameType () == GAME_NET_DEATHMATCH){
  6.       Terminate; }
  7.     Delay(70);
  8.     LocalAmbientSound("Death", 127);
  9.     SetHudSize(1280, 720, true);
  10.     SetFont("YouDied");
  11.     HudMessage(s:"A"; HUDMSG_FADEINOUT, 1, CR_UNTRANSLATED, 0.5, 0.5, 3.0, 0.5, 5.0);
  12.     FadeTo (0, 0, 0, 1.0, 3.0);
  13. }
  14.  
  15.  
  16.  
  17. script "DankScrollsKek" DEATH
  18. {
  19.     if(GameType() == GAME_NET_COOPERATIVE)
  20.     {
  21.       Terminate;
  22.     }
  23.     Else if(GameType () == GAME_NET_DEATHMATCH)
  24.     {
  25.       Terminate;
  26.     }
  27.     Delay(70);
  28.     LocalAmbientSound("Death", 127);
  29.     SetHudSize(1280, 720, true);
  30.     SetFont("YouDied");
  31.     HudMessage(s:"A"; HUDMSG_FADEINOUT, 1, CR_UNTRANSLATED, 0.5, 0.5, 3.0, 0.5, 5.0);
  32.     FadeTo (0, 0, 0, 1.0, 3.0);
  33. }
  34.  
  35.  
  36. /* using acs operators */
  37. /* http://zdoom.org/wiki/operators */
  38.  
  39. script "DankScrollsKek" DEATH
  40. {
  41.     if(GameType() == GAME_NET_COOPERATIVE || /* if gametype is net cooperative OR (||) /*
  42.     (GameType () == GAME_NET_DEATHMATCH){ /* if gametype is net deathmatch */
  43.       Terminate; }
  44.     Delay(70);
  45.     LocalAmbientSound("Death", 127);
  46.     SetHudSize(1280, 720, true);
  47.     SetFont("YouDied");
  48.     HudMessage(s:"A"; HUDMSG_FADEINOUT, 1, CR_UNTRANSLATED, 0.5, 0.5, 3.0, 0.5, 5.0);
  49.     FadeTo (0, 0, 0, 1.0, 3.0);
  50. }
  51.  
  52. /* you could even go so far as to write */
  53.  
  54.     if(GameType() == GAME_NET_COOPERATIVE || /* if gametype is net cooperative OR (||) /*
  55.     (GameType () == GAME_NET_DEATHMATCH){ /* if gametype is net deathmatch */
  56.       Terminate; }
  57.  
  58. /* as */
  59.  
  60.     if(GameType() == (GAME_NET_COOPERATIVE || GAME_NET_DEATHMATCH){ /* if gametype is net cooperative OR (||) net deathmatch */
  61.       things;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement