Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2011
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #include "zcommon.acs"
  2.  
  3. script 13 (int WakeTID)
  4. {
  5. If (WakeTID > 500)
  6. WakeTID -= 500;
  7.  
  8. Thing_Hate(WakeTID, 1001, 3);
  9. }
  10.  
  11. script 25 (int droptype)
  12. {
  13. if (droptype == 1)
  14. {
  15. //Should SS spawn Machine Gun or Clip?
  16. if (Shotgun[0] && (PlayerCount() == 1))
  17. Spawn ("WolfClipDrop", GetActorX(0)+1, GetActorY(0)+1, GetActorZ(0));
  18. else
  19. Spawn ("WolfMachineGun", GetActorX(0)+1, GetActorY(0)+1, GetActorZ(0));
  20. }
  21. else if (droptype == 2)
  22. Spawn ("YellowKey", GetActorX(0)+1, GetActorY(0)+1, GetActorZ(0));
  23. else
  24. Spawn ("WolfClipDrop", GetActorX(0)+1, GetActorY(0)+1, GetActorZ(0));
  25. }
  26.  
  27. script 800 (int multiplier) //int index)
  28. {
  29. int intResults = rnd_table[Random(0,255)]; //index];
  30. intResults = (intResults >> multiplier) / 3;
  31. SetResultValue(intResults);
  32. }
  33.  
  34. script 801 (void)
  35. {
  36. SetResultValue(GameSkill());
  37. If (GetCvar("g_debug"))
  38. Print(d:GameSkill());
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement