Guest User

Untitled

a guest
Dec 5th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. local ObjectManager = require("managers.object.object_manager")
  2.  
  3. EchoBaseScreenPlay = ScreenPlay:new {
  4. numberOfActs = 1,
  5.  
  6. screenplayName = "EchoBaseScreenPlay",
  7. }
  8.  
  9. registerScreenPlay("EchoBaseScreenPlay", true)
  10.  
  11. function EchoBaseScreenPlay:start()
  12. if (isZoneEnabled("hoth")) then
  13. self:spawnMobiles()
  14. self:spawnSceneObjects()
  15. end
  16. end
  17.  
  18.  
  19.  
  20. function EchoBaseScreenPlay:spawnSceneObjects()
  21.  
  22. spawnSceneObject("hoth", "object/building/heroic/echo_base.iff", -5105, 32.5, 5100, 0, 1, 0, 0, 0)
  23.  
  24.  
  25.  
  26. end
  27.  
  28.  
  29. function EchoBaseScreenPlay:spawnMobiles()
  30.  
  31. spawnMobile("hoth", "rebel_snow_trooper", 600, -118, 103.5, 579.8, 43, 0)
  32.  
  33.  
  34.  
  35.  
  36.  
  37. end
Add Comment
Please, Sign In to add comment