Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.66 KB | None | 0 0
  1. class UserActions {
  2. class open_door_1 {
  3. displayName = "Open Door";
  4. position = "Interact1";
  5. radius = 3;
  6. onlyForplayer = "true";
  7. condition = "((this animationPhase 'Door_1') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  8. statement = "this animate [""Door_1"", 1]";
  9. };
  10.  
  11. class close_door_1 {
  12. displayName = "Close Door";
  13. position = "Interact1";
  14. radius = 3;
  15. onlyForplayer = "true";
  16. condition = "((this animationPhase 'Door_1') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  17. statement = "this animate [""Door_1"", 0]";
  18. };
  19.  
  20. class open_door_2 {
  21. displayName = "Open Door";
  22. position = "Interact2";
  23. radius = 3;
  24. onlyForplayer = "true";
  25. condition = "((this animationPhase 'Door_2') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  26. statement = "this animate [""Door_2"", 1]";
  27. };
  28.  
  29. class close_door_2 {
  30. displayName = "Close Door";
  31. position = "Interact2";
  32. radius = 3;
  33. onlyForplayer = "true";
  34. condition = "((this animationPhase 'Door_2') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  35. statement = "this animate [""Door_2"", 0]";
  36. };
  37.  
  38. class open_door_3 {
  39. displayName = "Open Door";
  40. position = "Interact3";
  41. radius = 3;
  42. onlyForplayer = "true";
  43. condition = "((this animationPhase 'Door_3') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  44. statement = "this animate [""Door_3"", 1]";
  45. };
  46.  
  47. class close_door_3 {
  48. displayName = "Close Door";
  49. position = "Interact3";
  50. radius = 3;
  51. onlyForplayer = "true";
  52. condition = "((this animationPhase 'Door_3') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  53. statement = "this animate [""Door_3"", 0]";
  54. };
  55.  
  56. class open_door_4 {
  57. displayName = "Open Door";
  58. position = "Interact4";
  59. radius = 3;
  60. onlyForplayer = "true";
  61. condition = "((this animationPhase 'Door_4') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  62. statement = "this animate [""Door_4"", 1]";
  63. };
  64.  
  65. class close_door_4 {
  66. displayName = "Close Door";
  67. position = "Interact4";
  68. radius = 3;
  69. onlyForplayer = "true";
  70. condition = "((this animationPhase 'Door_4') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  71. statement = "this animate [""Door_4"", 0]";
  72. };
  73.  
  74. class open_door_5 {
  75. displayName = "Open Door";
  76. position = "Interact5";
  77. radius = 3;
  78. onlyForplayer = "true";
  79. condition = "((this animationPhase 'Door_5') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  80. statement = "this animate [""Door_5"", 1]";
  81. };
  82.  
  83. class close_door_5 {
  84. displayName = "Close Door";
  85. position = "Interact5";
  86. radius = 3;
  87. onlyForplayer = "true";
  88. condition = "((this animationPhase 'Door_5') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  89. statement = "this animate [""Door_5"", 0]";
  90. };
  91.  
  92. class open_door_6 {
  93. displayName = "Open Door";
  94. position = "Interact6";
  95. radius = 3;
  96. onlyForplayer = "true";
  97. condition = "((this animationPhase 'Door_6') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  98. statement = "this animate [""Door_6"", 1]";
  99. };
  100.  
  101. class close_door_6 {
  102. displayName = "Close Door";
  103. position = "Interact6";
  104. radius = 3;
  105. onlyForplayer = "true";
  106. condition = "((this animationPhase 'Door_6') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  107. statement = "this animate [""Door_6"", 0]";
  108. };
  109.  
  110. class open_door_7 {
  111. displayName = "Open Door";
  112. position = "Interact7";
  113. radius = 3;
  114. onlyForplayer = "true";
  115. condition = "((this animationPhase 'Door_7') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  116. statement = "this animate [""Door_7"", 1]";
  117. };
  118.  
  119. class close_door_7 {
  120. displayName = "Close Door";
  121. position = "Interact7";
  122. radius = 3;
  123. onlyForplayer = "true";
  124. condition = "((this animationPhase 'Door_7') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  125. statement = "this animate [""Door_7"", 0]";
  126. };
  127.  
  128. class open_door_8 {
  129. displayName = "Open Garage";
  130. position = "Interact8";
  131. radius = 5;
  132. onlyForplayer = "true";
  133. condition = "((this animationPhase 'Door_8') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
  134. statement = "this animate [""Door_8"", 1]";
  135. };
  136.  
  137. class close_door_8 {
  138. displayName = "Close Garage";
  139. position = "Interact8";
  140. radius = 5;
  141. onlyForplayer = "true";
  142. condition = "((this animationPhase 'Door_8') == 1) && ((player getVariable ['copLevel',0]) > 0)";
  143. statement = "this animate [""Door_8"", 0]";
  144. };
  145. };
  146. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement