Changeset 4904 for data/trunk/scripts
- Timestamp:
- Jun 19, 2007, 9:59:00 PM (17 years ago)
- Location:
- data/trunk/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/scripts/moonstation/intro.lua
r4901 r4904 7 7 thisscript:registerClass("Explosion") 8 8 explosion = Explosion() 9 explosion:setExplosionSound("sounds/explosions/explosion_6_BIG.wav") 9 10 10 11 -- Initialisation … … 115 116 explosion:explode(boomSize,boomSize,boomSize) 116 117 boomSize = boomSize + 10 117 if boomSize == 650 then 118 if boomSize > 650 then 119 --explosion:playSound() 118 120 return true 119 121 end -
data/trunk/scripts/spacestation/spaceship_tower.lua
r4765 r4904 20 20 triggerTwo:setRadius(70) 21 21 --triggerTwo:setDebugDraw(true) 22 23 triggerAc = ActionTrigger() 24 triggerAc:setScript("spaceship_tower.lua") 25 triggerAc:setFunction("action") 26 triggerAc:setTarget("Player") 27 triggerAc:setAbsCoor(506.862518, 35, -162.215515) 28 triggerAc:setRadius(20) 29 triggerAc:setDebugDraw(true) 30 22 31 23 32 -- Get objects from orxonox … … 214 223 end 215 224 225 function action(timestep) 226 print("Action trigger triggered ! \n") 227 return false 228 end 216 229 217 230 -- THE tick function -
data/trunk/scripts/vertical_scroller/vs1.lua
r4903 r4904 29 29 --initialisation 30 30 explosion = Explosion() 31 explosion:setExplosionSound("sounds/explosions/explosion_6_BIG.wav") 31 32 cameraManager:changeTarget("cameraOne","SpaceShip", "Player") 32 33 … … 46 47 explosion:explode(boomSize,boomSize,boomSize) 47 48 boomSize = boomSize + 4 48 if boomSize > 150then49 if boomSize > 75 then 49 50 triggerEndLevel:start() 50 51 cameraManager:toggleFade() 52 gameWorld:showText("We have been hit...") 53 gameWorld:showText("Initialising emergency sequence!") 51 54 return true 52 55 end
Note: See TracChangeset
for help on using the changeset viewer.