Changeset 4099 for data/branches/presentation/scripts
- Timestamp:
- Jul 4, 2006, 3:14:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/presentation/scripts/effects.lua
r4095 r4099 21 21 playerZ = Player:getAbsCoorZ() 22 22 23 23 24 if playerX > -1200 and not cloudActivated then 24 25 cloud:activate() … … 28 29 if playerX > -1100 and cloudActivated then 29 30 cloud:cloudColor(1,0,0,5) 30 cloud:skyColor(0 .5,0.5,0.5,5)31 cloud:skyColor(0,0,0,5) 31 32 end 32 33 33 if playerX > -1000 and cloudActivated then 34 cloud:cloudColor(0.8,0.8,0.8,5) 35 cloud:skyColor(0,0,0.8,5) 34 --if playerX > -1000 and cloudActivated then 35 -- cloud:cloudColor(0.8,0.8,0.8,5) 36 -- cloud:skyColor(0,0,0.8,5) 37 --end 38 39 --if playerX > -900 and not fogActivated then 40 -- fog:activate() 41 -- fogActivated = true 42 --end 43 44 --if playerX > -800 and not snowActivated then 45 -- snow:activate() 46 -- snowActivated = true 47 --end 48 49 --if playerX > -700 and snowActivated then 50 -- snow:deactivate() 51 -- fog:deactivate() 52 --end 53 54 if playerX > -600 and not rainActivated then 55 rain:startRaining() 56 rainActivated = true 36 57 end 37 58 38 if playerX > -500 then 39 io.write("script end\n") 40 return true 59 if playerX > -500 and rainActivated and not lightningActivated then 60 lightning:activate() 61 lightningActivated = true 62 end 63 64 if playerX > -300 and rainActivated and lightningActivated then 65 rain:stopRaining() 66 lightning:deactivate() 41 67 end 42 68
Note: See TracChangeset
for help on using the changeset viewer.