SHARE
TWEET

Custom Logic for Sky Islands

a guest Feb 2nd, 2019 357 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. OnRoundStart()
  2. {
  3. Game.PrintMessage("EM/Commands//fogmodee 3 70 5");
  4. Game.PrintMessage("EM/Commands//rd 200000");
  5. }
  6. ////////Titan Spawns
  7. OnPlayerEnterRegion["Underground"]("MyPlayer") 
  8. {
  9. Game.PrintMessage("<color=#15F6D1>Commander</color>:!!");
  10. {    
  11.  Titan.SpawnTitanAt(0, 1.5, 0, 1, RegionRandomX("Underground1"), RegionRandomY("Underground1"), RegionRandomZ("Underground1"));
  12.  Titan.SpawnTitanAt(0, 1.5, 0, 1, RegionRandomX("Underground2"), RegionRandomY("Underground2"), RegionRandomZ("Underground2"));
  13.  Titan.SpawnTitanAt(1, 1.5, 0, 1, RegionRandomX("Underground3"), RegionRandomY("Underground3"), RegionRandomZ("Underground3"));
  14.  Titan.SpawnTitanAt(0, 1.5, 0, 1, RegionRandomX("Underground4"), RegionRandomY("Underground4"), RegionRandomZ("Underground4"));
  15. }
  16. }
  17. OnPlayerEnterRegion["Crawler1"]("MyPlayer")
  18. {
  19. Game.PrintMessage("<color=#15F6D1>Commander</color>:Crawler Incomming!!");
  20. {    
  21.  Titan.SpawnTitanAt(3, 1.4, 0, 1, RegionRandomX("Crawler"), RegionRandomY("Crawler"), RegionRandomZ("Crawler"));
  22.  Titan.SpawnTitanAt(1, 1.0, 0, 1, RegionRandomX("Crawler"), RegionRandomY("Crawler"), RegionRandomZ("Crawler"));
  23. }
  24. }
  25.  
  26. OnPlayerEnterRegion["LPH"]("MyPlayer") 
  27. {
  28. Game.PrintMessage("<color=#206694>Let the little punk hunt!    BEGIN!!</color>");
  29. {    
  30.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP1"), RegionRandomY("LP1"), RegionRandomZ("LP1"));
  31.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP2"), RegionRandomY("LP2"), RegionRandomZ("LP2"));
  32.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP3"), RegionRandomY("LP3"), RegionRandomZ("LP3"));
  33.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP4"), RegionRandomY("LP4"), RegionRandomZ("LP4"));
  34.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP5"), RegionRandomY("LP5"), RegionRandomZ("LP5"));
  35.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP6"), RegionRandomY("LP6"), RegionRandomZ("LP6"));
  36.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP7"), RegionRandomY("LP7"), RegionRandomZ("LP7"));
  37.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP8"), RegionRandomY("LP8"), RegionRandomZ("LP8"));
  38.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP9"), RegionRandomY("LP9"), RegionRandomZ("LP9"));
  39.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP10"), RegionRandomY("LP10"), RegionRandomZ("LP10"));
  40.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP11"), RegionRandomY("LP11"), RegionRandomZ("LP11"));
  41.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP12"), RegionRandomY("LP12"), RegionRandomZ("LP12"));
  42.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP13"), RegionRandomY("LP13"), RegionRandomZ("LP13"));
  43.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP14"), RegionRandomY("LP14"), RegionRandomZ("LP14"));
  44.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP15"), RegionRandomY("LP15"), RegionRandomZ("LP15"));
  45.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP16"), RegionRandomY("LP16"), RegionRandomZ("LP16"));
  46.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP17"), RegionRandomY("LP17"), RegionRandomZ("LP17"));
  47.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP18"), RegionRandomY("LP18"), RegionRandomZ("LP18"));
  48.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP19"), RegionRandomY("LP19"), RegionRandomZ("LP19"));
  49.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP20"), RegionRandomY("LP20"), RegionRandomZ("LP20"));
  50.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP21"), RegionRandomY("LP21"), RegionRandomZ("LP21"));
  51.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP22"), RegionRandomY("LP22"), RegionRandomZ("LP22"));
  52.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP23"), RegionRandomY("LP23"), RegionRandomZ("LP23"));
  53.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP24"), RegionRandomY("LP24"), RegionRandomZ("LP24"));
  54.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP25"), RegionRandomY("LP25"), RegionRandomZ("LP25"));
  55.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP26"), RegionRandomY("LP26"), RegionRandomZ("LP26"));
  56.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP27"), RegionRandomY("LP27"), RegionRandomZ("LP27"));
  57.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP28"), RegionRandomY("LP28"), RegionRandomZ("LP28"));
  58.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP29"), RegionRandomY("LP29"), RegionRandomZ("LP29"));
  59.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP30"), RegionRandomY("LP30"), RegionRandomZ("LP30"));
  60.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP31"), RegionRandomY("LP31"), RegionRandomZ("LP31"));
  61.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP32"), RegionRandomY("LP32"), RegionRandomZ("LP32"));
  62.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP33"), RegionRandomY("LP33"), RegionRandomZ("LP33"));
  63.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP34"), RegionRandomY("LP34"), RegionRandomZ("LP34"));
  64.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP35"), RegionRandomY("LP35"), RegionRandomZ("LP35"));
  65.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("LP36"), RegionRandomY("LP36"), RegionRandomZ("LP36"));
  66. }
  67. }
  68. OnPlayerEnterRegion["Town2Valley"]("MyPlayer") 
  69. {
  70. Game.PrintMessage("<color=#206694>Crawly bois R crawlin in a tunnel</color>");
  71. {    
  72.  Titan.SpawnTitanAt(4, 2.5, 0, 1, RegionRandomX("Tube"), RegionRandomY("Tube"), RegionRandomZ("Tube"));
  73.  Titan.SpawnTitanAt(4, 2.6, 0, 1, RegionRandomX("Tube2"), RegionRandomY("Tube2"), RegionRandomZ("Tube2"));
  74.  Titan.SpawnTitanAt(4, 2.8, 0, 1, RegionRandomX("Tube3"), RegionRandomY("Tube3"), RegionRandomZ("Tube3"));
  75.  Titan.SpawnTitanAt(4, 2.9, 0, 1, RegionRandomX("Tube4"), RegionRandomY("Tube4"), RegionRandomZ("Tube4"));
  76.  Titan.SpawnTitanAt(4, 2.6, 0, 1, RegionRandomX("Tube5"), RegionRandomY("Tube5"), RegionRandomZ("Tube5"));
  77.  Titan.SpawnTitanAt(4, 2.8, 0, 1, RegionRandomX("Tube6"), RegionRandomY("Tube6"), RegionRandomZ("Tube6"));
  78.  Titan.SpawnTitanAt(4, 2.9, 0, 1, RegionRandomX("Tube7"), RegionRandomY("Tube7"), RegionRandomZ("Tube7"));
  79.  Titan.SpawnTitanAt(0, 7.0, 0, 1, RegionRandomX("Tube8"), RegionRandomY("Tube8"), RegionRandomZ("Tube8"));
  80. }
  81. }
  82. OnPlayerEnterRegion["first"]("MyPlayer")   
  83. {    
  84.  Titan.SpawnTitanAt(1, 0.2, 100, 1, RegionRandomX("first1"), RegionRandomY("first1"), RegionRandomZ("first1"));
  85. {
  86. Game.PrintMessage("<color=#15F6D1>Marco Bott</color>:A midget walks into a bar…");
  87. }
  88. }
  89. OnPlayerEnterRegion["second"]("MyPlayer")  
  90. {    
  91.  Titan.SpawnTitanAt(2, 0.4, 50, 2, RegionRandomX("second1"), RegionRandomY("first1"), RegionRandomZ("first1"));
  92. {
  93. Game.PrintMessage("<color=#15F6D1>Marco Bott</color>:A midget walks into a bar…");
  94. }
  95. }
  96. OnPlayerEnterRegion["third"]("MyPlayer")   
  97. {    
  98.  Titan.SpawnTitanAt(3, 0.3, 25, 1, RegionRandomX("third1"), RegionRandomY("first1"), RegionRandomZ("first1"));
  99. {
  100. Game.PrintMessage("<color=#15F6D1>Marco Bott</color>:A midget walks into a bar…");
  101. }
  102. }
  103. OnPlayerEnterRegion["fourth"]("MyPlayer")  
  104. {    
  105.  Titan.SpawnTitanAt(4, 0.6, 25, 1, RegionRandomX("fourth1"), RegionRandomY("first1"), RegionRandomZ("first1"));
  106. {
  107. Game.PrintMessage("<color=#15F6D1>Marco Bott</color>:A midget walks into a bar…");
  108. }
  109. }
  110. OnPlayerEnterRegion["Base1"]("MyPlayer")   
  111. {
  112. Game.PrintMessage("<color=#15F6D1>Commander</color>:Protect this base! Whatever the costs!");
  113. {    
  114.  Titan.SpawnTitanAt(0, 0.8, 69, 1, RegionRandomX("Base3"), RegionRandomY("Base3"), RegionRandomZ("Base3"));
  115.  Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("Base4"), RegionRandomY("Base4"), RegionRandomZ("Base4"));
  116.  Titan.SpawnTitanAt(3, 2.5, 666, 1, RegionRandomX("Base5"), RegionRandomY("Base5"), RegionRandomZ("Base5"));
  117.  Titan.SpawnTitanAt(0, 2.0, 200, 2, RegionRandomX("Base6"), RegionRandomY("Base6"), RegionRandomZ("Base6"));
  118.  Titan.SpawnTitanAt(0, 2.2, 0, 1, RegionRandomX("Base7"), RegionRandomY("Base7"), RegionRandomZ("Base7"));
  119.  Titan.SpawnTitanAt(0, 2.5, 0, 1, RegionRandomX("Base8"), RegionRandomY("Base8"), RegionRandomZ("Base8"));
  120.  Titan.SpawnTitanAt(1, 1.5, 0, 1, RegionRandomX("Base9"), RegionRandomY("Base9"), RegionRandomZ("Base9"));
  121.  Titan.SpawnTitanAt(0, 2.6, 0, 1, RegionRandomX("Base18"), RegionRandomY("Base18"), RegionRandomZ("Base18"));
  122. }
  123. }
  124. OnPlayerEnterRegion["Base2"]("MyPlayer")   
  125. {
  126. Game.PrintMessage("<color=#15F6D1>Commander</color>:Tontons Incomming!!");
  127. {    
  128.  Titan.SpawnTitanAt(4, 3.0, 1000, 1, RegionRandomX("Base10"), RegionRandomY("Base10"), RegionRandomZ("Base10"));
  129.  Titan.SpawnTitanAt(1, 2.0, 400, 2, RegionRandomX("Base11"), RegionRandomY("Base11"), RegionRandomZ("Base11"));
  130.  Titan.SpawnTitanAt(1, 2.5, 500, 1, RegionRandomX("Base12"), RegionRandomY("Base12"), RegionRandomZ("Base12"));
  131.  Titan.SpawnTitanAt(0, 5.2, 800, 1, RegionRandomX("Base13"), RegionRandomY("Base13"), RegionRandomZ("Base13"));
  132.  Titan.SpawnTitanAt(2, 2.8, 400, 1, RegionRandomX("Base14"), RegionRandomY("Base14"), RegionRandomZ("Base14"));
  133.  Titan.SpawnTitanAt(0, 3.3, 0, 1, RegionRandomX("Base15"), RegionRandomY("Base15"), RegionRandomZ("Base15"));
  134.  Titan.SpawnTitanAt(0, 4.0, 0, 1, RegionRandomX("Base16"), RegionRandomY("Base16"), RegionRandomZ("Base16"));
  135.  Titan.SpawnTitanAt(1, 2.6, 0, 1, RegionRandomX("Base17"), RegionRandomY("Base17"), RegionRandomZ("Base17"));
  136.  Titan.SpawnTitanAt(2, 0.6, 0, 1, RegionRandomX("Base19"), RegionRandomY("Base19"), RegionRandomZ("Base19"));
  137.  
  138. }
  139. }
  140. OnPlayerEnterRegion["Bridge"]("MyPlayer")  
  141. {
  142. Game.PrintMessage("<color=#15F6D1>Commander</color>:A Giant Titan Appeared");
  143. {    
  144.  Titan.SpawnTitanAt(0, 20.0, 8000, 1, RegionRandomX("Bridge1"), RegionRandomY("Bridge1"), RegionRandomZ("Bridge1"));
  145. }
  146. }
  147. OnPlayerEnterRegion["BridgeG"]("MyPlayer") 
  148. {
  149. Game.PrintMessage("<color=#15F6D1>Commander</color>:A Giant Punk Appeared");
  150. {    
  151.  Titan.SpawnTitanAt(4, 12.0, 3000, 1, RegionRandomX("Bridge1"), RegionRandomY("Bridge1"), RegionRandomZ("Bridge1"));
  152. }
  153. }
  154. OnPlayerEnterRegion["BridgeB"]("MyPlayer") 
  155. {
  156. Game.PrintMessage("<color=#15F6D1>Commander</color>:A Jumper and Abberant Appeared");
  157. {    
  158.  Titan.SpawnTitanAt(1, 8.0, 2000, 1, RegionRandomX("Bridge1"), RegionRandomY("Bridge1"), RegionRandomZ("Bridge1"));
  159.  Titan.SpawnTitanAt(2, 7.0, 2000, 1, RegionRandomX("Bridge1"), RegionRandomY("Bridge1"), RegionRandomZ("Bridge1"));
  160. }
  161. }
  162.  
  163. OnPlayerEnterRegion["Towncenter"]("MyPlayer")  
  164. {
  165. Game.PrintMessage("<color=#15F6D1>Commander</color>:Titans invaded the town!Move out!");
  166. {    
  167.  Titan.SpawnTitanAt(0, 3.0, 200, 1, RegionRandomX("Towncenter1"), RegionRandomY("Towncenter1"), RegionRandomZ("Towncenter1"));
  168.  Titan.SpawnTitanAt(0, 3.0, 200, 1, RegionRandomX("Towncenter2"), RegionRandomY("Towncenter2"), RegionRandomZ("Towncenter2"));
  169.  Titan.SpawnTitanAt(1, 4.0, 200, 1, RegionRandomX("Towncenter3"), RegionRandomY("Towncenter3"), RegionRandomZ("Towncenter3"));
  170.  Titan.SpawnTitanAt(1, 2.0, 600, 1, RegionRandomX("Towncenter4"), RegionRandomY("Towncenter4"), RegionRandomZ("Towncenter4"));
  171.  Titan.SpawnTitanAt(2, 1.3, 200, 1, RegionRandomX("Towncenter5"), RegionRandomY("Towncenter5"), RegionRandomZ("Towncenter5"));
  172.  Titan.SpawnTitanAt(0, 2.7, 200, 1, RegionRandomX("Towncenter6"), RegionRandomY("Towncenter6"), RegionRandomZ("Towncenter6"));
  173.  Titan.SpawnTitanAt(0, 4.8, 200, 1, RegionRandomX("Towncenter7"), RegionRandomY("Towncenter7"), RegionRandomZ("Towncenter7"));
  174. }
  175. }
  176. OnPlayerEnterRegion["TownGate"]("MyPlayer")
  177. {    
  178.  Titan.SpawnTitanAt(4, 2.0, 300, 1, RegionRandomX("TownPlain"), RegionRandomY("TownPlain"), RegionRandomZ("TownPlain"));
  179.  Titan.SpawnTitanAt(4, 3.0, 300, 1, RegionRandomX("TownPlain"), RegionRandomY("TownPlain"), RegionRandomZ("TownPlain"));
  180.  Titan.SpawnTitanAt(4, 4.0, 300, 1, RegionRandomX("TownPlain"), RegionRandomY("TownPlain"), RegionRandomZ("TownPlain"));
  181.  Titan.SpawnTitanAt(4, 5.0, 300, 1, RegionRandomX("TownPlain"), RegionRandomY("TownPlain"), RegionRandomZ("TownPlain"));
  182. }
  183.  
  184. OnPlayerEnterRegion["Castle"]("MyPlayer")  
  185. {    
  186.  Titan.SpawnTitanAt(1, 2.0, 1, 2, RegionRandomX("Castle1"), RegionRandomY("Castle1"), RegionRandomZ("Castle1"));
  187.  Titan.SpawnTitanAt(0, 2.5, 1, 3, RegionRandomX("Castle2"), RegionRandomY("Castle2"), RegionRandomZ("Castle2"));
  188.  Titan.SpawnTitanAt(2, 2.8, 100, 1, RegionRandomX("Castlea1"), RegionRandomY("Castlea1"), RegionRandomZ("Castlea1"));
  189.  Titan.SpawnTitanAt(2, 2.2, 100, 1, RegionRandomX("Castlea2"), RegionRandomY("Castlea2"), RegionRandomZ("Castlea2"));
  190.  Titan.SpawnTitanAt(2, 3.0, 100, 1, RegionRandomX("Castlea3"), RegionRandomY("Castlea3"), RegionRandomZ("Castlea3"));
  191.  Titan.SpawnTitanAt(2, 2.5, 100, 1, RegionRandomX("Castlea3"), RegionRandomY("Castlea3"), RegionRandomZ("Castlea3"));
  192.  Titan.SpawnTitanAt(2, 1.5, 100, 2, RegionRandomX("Castlea4"), RegionRandomY("Castlea4"), RegionRandomZ("Castlea4"));
  193. {
  194. Game.PrintMessage("<color=#15F6D1>Commander</color>:Titans showed up in the castle!");
  195. }
  196. }
  197. OnPlayerEnterRegion["Newtown"]("MyPlayer") 
  198. {
  199. Game.PrintMessage("<color=#15F6D1>Commander</color>:More titans! To the castle!");
  200. {    
  201.  Titan.SpawnTitanAt(1, 1.5, 200, 1, RegionRandomX("Newtown1"), RegionRandomY("Newtown1"), RegionRandomZ("Newtown1"));
  202.  Titan.SpawnTitanAt(1, 2.0, 300, 1, RegionRandomX("Newtown2"), RegionRandomY("Newtown2"), RegionRandomZ("Newtown2"));
  203.  Titan.SpawnTitanAt(1, 3.0, 500, 1, RegionRandomX("Newtown3"), RegionRandomY("Newtown3"), RegionRandomZ("Newtown3"));
  204.  Titan.SpawnTitanAt(2, 1.8, 200, 1, RegionRandomX("Newtown4"), RegionRandomY("Newtown4"), RegionRandomZ("Newtown4"));
  205.  Titan.SpawnTitanAt(0, 3.8, 200, 1, RegionRandomX("Newtown5"), RegionRandomY("Newtown5"), RegionRandomZ("Newtown5"));
  206.  Titan.SpawnTitanAt(0, 5.0, 999, 1, RegionRandomX("Newtown6"), RegionRandomY("Newtown6"), RegionRandomZ("Newtown6"));
  207.  Titan.SpawnTitanAt(0, 4.0, 100, 1, RegionRandomX("Newtown7"), RegionRandomY("Newtown7"), RegionRandomZ("Newtown7"));
  208.  Titan.SpawnTitanAt(0, 2.5, 400, 1, RegionRandomX("Newtown8"), RegionRandomY("Newtown8"), RegionRandomZ("Newtown8"));
  209.  Titan.SpawnTitanAt(1, 3.6, 666, 1, RegionRandomX("Newtown9"), RegionRandomY("Newtown9"), RegionRandomZ("Newtown9"));
  210.  Titan.SpawnTitanAt(0, 2.2, 123, 1, RegionRandomX("Newtown10"), RegionRandomY("Newtown10"), RegionRandomZ("Newtown10"));
  211.  Titan.SpawnTitanAt(0, 2.8, 321, 1, RegionRandomX("Newtown11"), RegionRandomY("Newtown11"), RegionRandomZ("Newtown11"));
  212.  Titan.SpawnTitanAt(0, 1.5, 69, 1, RegionRandomX("Newtown12"), RegionRandomY("Newtown12"), RegionRandomZ("Newtown12"));
  213. }
  214. }
  215. OnPlayerEnterRegion["Gate2"]("MyPlayer")   
  216. {    
  217.  Titan.SpawnTitanAt(0, 3.5, 600, 5, RegionRandomX("Gate2a"), RegionRandomY("Gate2a"), RegionRandomZ("Gate2a"));
  218. }
  219.  
  220. OnPlayerEnterRegion["GreatBridge"]("MyPlayer") 
  221. {
  222. Game.PrintMessage("<color=#15F6D1>Commander</color>:Oh shit! RUUUUUUUUN!");
  223. {    
  224.  Titan.SpawnTitanAt(1, 5.5, 600, 2, RegionRandomX("TrainingGround"), RegionRandomY("TrainingGround"), RegionRandomZ("TrainingGround"));
  225.  Titan.SpawnTitanAt(1, 3.0, 400, 2, RegionRandomX("TrainingGround"), RegionRandomY("TrainingGround"), RegionRandomZ("TrainingGround"));
  226.  Titan.SpawnTitanAt(4, 6.0, 600, 1, RegionRandomX("TrainingGround"), RegionRandomY("TrainingGround"), RegionRandomZ("TrainingGround"));
  227.  Titan.SpawnTitanAt(4, 4.0, 500, 1, RegionRandomX("TrainingGround"), RegionRandomY("TrainingGround"), RegionRandomZ("TrainingGround"));
  228.  Titan.SpawnTitanAt(3, 4.0, 500, 1, RegionRandomX("GreatBridgeA"), RegionRandomY("GreatBridgeA"), RegionRandomZ("GreatBridgeA"));
  229. }
  230. }
  231. OnPlayerEnterRegion["FarmSouth"]("MyPlayer")   
  232. {
  233. Game.PrintMessage("<color=#206694>RG Test 1-5</color>");RG Test 1
  234. {    
  235.  Titan.SpawnTitanAt(4, 0.6, 69, 1, RegionRandomX("Farm1"), RegionRandomY("Farm1"), RegionRandomZ("Farm1"));
  236.  Titan.SpawnTitanAt(1, 4.0, 690, 1, RegionRandomX("Farm7"), RegionRandomY("Farm7"), RegionRandomZ("Farm7"));
  237.  Titan.SpawnTitanAt(0, 6.0, 200, 1, RegionRandomX("Farm3"), RegionRandomY("Farm3"), RegionRandomZ("Farm3"));
  238.  Titan.SpawnTitanAt(1, 3.0, 300, 2, RegionRandomX("Farm5"), RegionRandomY("Farm5"), RegionRandomZ("Farm5"));
  239.  Titan.SpawnTitanAt(0, 5.0, 999, 1, RegionRandomX("Farm4"), RegionRandomY("Farm4"), RegionRandomZ("Farm4"));
  240. }
  241. }
  242. OnPlayerEnterRegion["FarmCentral"]("MyPlayer") 
  243. {
  244. Game.PrintMessage("<color=#206694>RG Test 1-5</color>");RG Test 2
  245. {    
  246.  Titan.SpawnTitanAt(0, 2.0, 200, 1, RegionRandomX("Farm2"), RegionRandomY("Farm2"), RegionRandomZ("Farm2"));
  247.  Titan.SpawnTitanAt(1, 3.5, 300, 1, RegionRandomX("Farm8"), RegionRandomY("Farm8"), RegionRandomZ("Farm8"));
  248.  Titan.SpawnTitanAt(2, 2.5, 250, 1, RegionRandomX("Farm9"), RegionRandomY("Farm9"), RegionRandomZ("Farm9"));
  249.  Titan.SpawnTitanAt(0, 4.0, 600, 1, RegionRandomX("Farm6"), RegionRandomY("Farm6"), RegionRandomZ("Farm6"));
  250.  Titan.SpawnTitanAt(1, 3.0, 600, 1, RegionRandomX("Farm6"), RegionRandomY("Farm6"), RegionRandomZ("Farm6"));
  251.  Titan.SpawnTitanAt(4, 2.2, 500, 1, RegionRandomX("Farm10"), RegionRandomY("Farm10"), RegionRandomZ("Farm10"));
  252. }
  253. }
  254. OnPlayerEnterRegion["HillsSpawn"]("MyPlayer")  
  255. {
  256. Game.PrintMessage("<color=#206694>RG Abbies are comming from the hills!</color>");RG Test 2
  257. {    
  258.  Titan.SpawnTitanAt(1, 2.0, 0, 1, RegionRandomX("Hills1"), RegionRandomY("Hills1"), RegionRandomZ("Hills1"));
  259.  Titan.SpawnTitanAt(1, 3.5, 0, 1, RegionRandomX("Hills2"), RegionRandomY("Hills2"), RegionRandomZ("Hills2"));
  260.  Titan.SpawnTitanAt(1, 2.5, 0, 1, RegionRandomX("Hills3"), RegionRandomY("Hills3"), RegionRandomZ("Hills3"));
  261.  Titan.SpawnTitanAt(1, 2.2, 0, 1, RegionRandomX("Hills4"), RegionRandomY("Hills4"), RegionRandomZ("Hills4"));
  262.  Titan.SpawnTitanAt(1, 1.8, 0, 1, RegionRandomX("Hills5"), RegionRandomY("Hills5"), RegionRandomZ("Hills5"));
  263.  Titan.SpawnTitanAt(1, 4.2, 0, 1, RegionRandomX("Hills6"), RegionRandomY("Hills6"), RegionRandomZ("Hills6"));
  264.  Titan.SpawnTitanAt(1, 3.2, 0, 1, RegionRandomX("Hills7"), RegionRandomY("Hills7"), RegionRandomZ("Hills7"));
  265.  Titan.SpawnTitanAt(2, 2.8, 0, 1, RegionRandomX("Hills8"), RegionRandomY("Hills8"), RegionRandomZ("Hills8"));
  266. }
  267. }
  268. OnPlayerEnterRegion["Crawl1"]("MyPlayer")  
  269. {
  270. Game.PrintMessage("<color=#206694>RG Titans are comming from the hills!</color>");RG Test 2
  271. {    
  272.  Titan.SpawnTitanAt(1, 4.5, 0, 1, RegionRandomX("Hills2"), RegionRandomY("Hills2"), RegionRandomZ("Hills2"));
  273.  Titan.SpawnTitanAt(2, 2.8, 0, 1, RegionRandomX("Hills5"), RegionRandomY("Hills5"), RegionRandomZ("Hills5"));
  274.  Titan.SpawnTitanAt(0, 5.2, 0, 1, RegionRandomX("Hills6"), RegionRandomY("Hills6"), RegionRandomZ("Hills6"));
  275.  Titan.SpawnTitanAt(1, 8.0, 0, 1, RegionRandomX("Bigboi"), RegionRandomY("Bigboi"), RegionRandomZ("Bigboi"));
  276. }
  277. }
  278. OnPlayerEnterRegion["Valleyntrance"]("MyPlayer")   
  279. {
  280. Game.PrintMessage("<color=#206694>RG Titans are comming from the hills!</color>");RG Test 2
  281. {    
  282.  Titan.SpawnTitanAt(0, 2.1, 0, 1, RegionRandomX("Valley3"), RegionRandomY("Valley3"), RegionRandomZ("Valley3"));
  283.  Titan.SpawnTitanAt(1, 1.1, 0, 1, RegionRandomX("Valley3"), RegionRandomY("Valley3"), RegionRandomZ("Valley3"));
  284.  Titan.SpawnTitanAt(1, 2.8, 0, 1, RegionRandomX("Valley2"), RegionRandomY("Valley2"), RegionRandomZ("Valley2"));
  285.  Titan.SpawnTitanAt(0, 3.3, 0, 1, RegionRandomX("Valley2"), RegionRandomY("Valley2"), RegionRandomZ("Valley2"));
  286.  Titan.SpawnTitanAt(2, 1.8, 0, 1, RegionRandomX("Valley1"), RegionRandomY("Valley1"), RegionRandomZ("Valley1"));
  287.  Titan.SpawnTitanAt(0, 4.0, 0, 1, RegionRandomX("Valley4"), RegionRandomY("Valley4"), RegionRandomZ("Valley4"));
  288.  Titan.SpawnTitanAt(0, 2.5, 0, 1, RegionRandomX("Valley5"), RegionRandomY("Valley5"), RegionRandomZ("Valley5"));
  289.  Titan.SpawnTitanAt(4, 3.0, 0, 1, RegionRandomX("Valley6"), RegionRandomY("Valley6"), RegionRandomZ("Valley6"));
  290.  Titan.SpawnTitanAt(0, 1.5, 0, 3, RegionRandomX("Valley7"), RegionRandomY("Valley7"), RegionRandomZ("Valley7"));
  291. }
  292. }
  293. OnPlayerEnterRegion["ValleyMid"]("MyPlayer")   
  294. {
  295. Game.PrintMessage("<color=#206694>RG Titans are comming from the hills!</color>");RG Test 2
  296. {    
  297.  Titan.SpawnTitanAt(0, 3.5, 0, 1, RegionRandomX("Valley8"), RegionRandomY("Valley8"), RegionRandomZ("Valley8"));
  298.  Titan.SpawnTitanAt(0, 4.4, 0, 1, RegionRandomX("Valley9"), RegionRandomY("Valley9"), RegionRandomZ("Valley9"));
  299.  Titan.SpawnTitanAt(1, 2.2, 0, 1, RegionRandomX("Valley9"), RegionRandomY("Valley9"), RegionRandomZ("Valley9"));
  300.  Titan.SpawnTitanAt(0, 3.8, 0, 1, RegionRandomX("Valley9"), RegionRandomY("Valley9"), RegionRandomZ("Valley9"));
  301.  Titan.SpawnTitanAt(1, 1.8, 0, 1, RegionRandomX("Valley8"), RegionRandomY("Valley8"), RegionRandomZ("Valley8"));
  302. }
  303. }
  304. OnPlayerEnterRegion["Plains"]("MyPlayer")  
  305. {
  306. Game.PrintMessage("<color=#206694>RG Titans are comming from the hills!</color>");RG Test 2
  307. {    
  308.  Titan.SpawnTitanAt(0, 1.0, 0, 1, RegionRandomX("Plains1"), RegionRandomY("Plains1"), RegionRandomZ("Plains1"));
  309.  Titan.SpawnTitanAt(0, 1.5, 0, 1, RegionRandomX("Plains2"), RegionRandomY("Plains2"), RegionRandomZ("Plains2"));
  310.  Titan.SpawnTitanAt(0, 2.0, 0, 1, RegionRandomX("Plains3"), RegionRandomY("Plains3"), RegionRandomZ("Plains3"));
  311.  Titan.SpawnTitanAt(0, 2.5, 0, 1, RegionRandomX("Plains4"), RegionRandomY("Plains4"), RegionRandomZ("Plains4"));
  312.  Titan.SpawnTitanAt(0, 3.0, 0, 1, RegionRandomX("Plains5"), RegionRandomY("Plains5"), RegionRandomZ("Plains5"));
  313.  Titan.SpawnTitanAt(0, 3.5, 0, 1, RegionRandomX("Plains6"), RegionRandomY("Plains6"), RegionRandomZ("Plains6"));
  314.  Titan.SpawnTitanAt(0, 4.0, 0, 1, RegionRandomX("Plains7"), RegionRandomY("Plains7"), RegionRandomZ("Plains7"));
  315. }
  316. }
  317. OnPlayerEnterRegion["Tunnel"]("MyPlayer")  
  318. {
  319. Game.PrintMessage("<color=#206694>Crawly bois R crawlin in a tunnel</color>");
  320. {    
  321.  Titan.SpawnTitanAt(3, 2.5, 0, 1, RegionRandomX("Tunnel1"), RegionRandomY("Tunnel1"), RegionRandomZ("Tunnel1"));
  322.  Titan.SpawnTitanAt(3, 2.5, 0, 1, RegionRandomX("Tunnel2"), RegionRandomY("Tunnel2"), RegionRandomZ("Tunnel2"));
  323. }
  324. }
  325. //////////////
  326. /////////////////TELEPORTS
  327. //////////////
  328. OnPlayerEnterRegion["Base2Bar"]("myPlayer")
  329. {
  330. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  331. If(Int.Equals(VariableInt("myType"),1))
  332. {
  333. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebar"),RegionRandomY("Telebar"),RegionRandomZ("Telebar"));
  334.  
  335. Game.PrintMessage("MC went from Base to Bar");
  336.  
  337. }
  338. }
  339. OnPlayerEnterRegion["Base2Ghetto"]("myPlayer")
  340. {
  341. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  342. If(Int.Equals(VariableInt("myType"),1))
  343. {
  344. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Teleghetto"),RegionRandomY("Teleghetto"),RegionRandomZ("Teleghetto"));
  345.  
  346. Game.PrintMessage("MC went from Base to Ghetto");
  347.  
  348. }
  349. }
  350. OnPlayerEnterRegion["Bar2Base"]("myPlayer")
  351. {
  352. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  353. If(Int.Equals(VariableInt("myType"),1))
  354. {
  355. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebase"),RegionRandomY("Telebase"),RegionRandomZ("Telebase"));
  356.  
  357. Game.PrintMessage("MC went from Bar to Base");
  358.  
  359. }
  360. }
  361. OnPlayerEnterRegion["Bar2Ghetto"]("myPlayer")
  362. {
  363. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  364. If(Int.Equals(VariableInt("myType"),1))
  365. {
  366. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Teleghetto"),RegionRandomY("Teleghetto"),RegionRandomZ("Teleghetto"));
  367.  
  368. Game.PrintMessage("MC went from Bar to Ghetto");
  369.  
  370. }
  371. }
  372. OnPlayerEnterRegion["Ghetto2Base"]("myPlayer")
  373. {
  374. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  375. If(Int.Equals(VariableInt("myType"),1))
  376. {
  377. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebase"),RegionRandomY("Telebase"),RegionRandomZ("Telebase"));
  378.  
  379. Game.PrintMessage("MC went from Ghetto to Base");
  380.  
  381. }
  382. }
  383. OnPlayerEnterRegion["Ghetto2Bar"]("myPlayer")
  384. {
  385. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  386. If(Int.Equals(VariableInt("myType"),1))
  387. {
  388. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebar"),RegionRandomY("Telebar"),RegionRandomZ("Telebar"));
  389.  
  390. Game.PrintMessage("MC went from Ghetto to Bar");
  391.  
  392. }
  393. }
  394. OnPlayerEnterRegion["TreeHouse2Base"]("myPlayer")
  395. {
  396. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  397. If(Int.Equals(VariableInt("myType"),1))
  398. {
  399. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebase"),RegionRandomY("Telebase"),RegionRandomZ("Telebase"));
  400.  
  401. Game.PrintMessage("MC went from Treehouse to Base");
  402.  
  403. }
  404. }
  405.  
  406. OnPlayerEnterRegion["Base2TreeHouse"]("myPlayer")
  407. {
  408. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  409. If(Int.Equals(VariableInt("myType"),1))
  410. {
  411. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("TreeHouse"),RegionRandomY("TreeHouse"),RegionRandomZ("TreeHouse"));
  412.  
  413. Game.PrintMessage("MC went from Base to TreeHouse");
  414.  
  415. }
  416. }
  417. OnPlayerEnterRegion["Farm2Castle"]("myPlayer")
  418. {
  419. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  420. If(Int.Equals(VariableInt("myType"),1))
  421. {
  422. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("CastleTele"),RegionRandomY("CastleTele"),RegionRandomZ("CastleTele"));
  423.  
  424. Game.PrintMessage("MC went from Farm to Castle");
  425.  
  426. }
  427. }
  428. OnPlayerEnterRegion["Farm2Base"]("myPlayer")
  429. {
  430. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  431. If(Int.Equals(VariableInt("myType"),1))
  432. {
  433. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Telebase"),RegionRandomY("Telebase"),RegionRandomZ("Telebase"));
  434.  
  435. Game.PrintMessage("MC went from Farm to Base");
  436.  
  437. }
  438. }
  439. OnPlayerEnterRegion["Farm2Tree"]("myPlayer")
  440. {
  441. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  442. If(Int.Equals(VariableInt("myType"),1))
  443. {
  444. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("Makeitrain"),RegionRandomY("Makeitrain"),RegionRandomZ("Makeitrain"));
  445.  
  446. Game.PrintMessage("MC went from Farm to High Up In The Sky Bruh!");
  447.  
  448. }
  449. }
  450. OnPlayerEnterRegion["Floor"]("myPlayer")
  451. {
  452. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  453. If(Int.Equals(VariableInt("myType"),1))
  454. {
  455. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("TrainingGround"),RegionRandomY("TrainingGround"),RegionRandomZ("TrainingGround"));
  456.  
  457. }
  458. }
  459.  
  460. OnTitanEnterRegion["Floor"]("myTitan")
  461. {
  462. Titan.MoveTitan(VariableTitan("myTitan"), RegionRandomX("TrainingGround"),RegionRandomY("TrainingGround"),RegionRandomZ("TrainingGround"));
  463. }
  464. OnTitanEnterRegion["BigTree"]("myTitan")
  465. {
  466. Titan.MoveTitan(VariableTitan("myTitan"), RegionRandomX("Makeitrain"),RegionRandomY("Makeitrain"),RegionRandomZ("Makeitrain"));
  467. }
  468. OnPlayerEnterRegion["passdoor1"]("myPlayer")
  469. {
  470. VariableInt.Set("myType",VariablePlayer("myPlayer").GetType());
  471. If(Int.Equals(VariableInt("myType"),1))
  472. {
  473. Player.MovePlayer(VariablePlayer("myPlayer"), RegionRandomX("passdoor"),RegionRandomY("passdoor"),RegionRandomZ("passdoor"));
  474.  
  475. }
  476. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top