Changeset 11152 for code/branches/plehmannFS16/data
- Timestamp:
- Mar 24, 2016, 3:54:06 PM (9 years ago)
- Location:
- code/branches/plehmannFS16/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/plehmannFS16/data/gui/scripts/testscript.lua
r10622 r11152 23 23 if ctrl ~= nil then 24 24 25 ctrl:eventScheduler("mal", xl,yl,zl, xl,yl,zl, 2) 26 ctrl:eventScheduler("idle", 1) 27 ctrl:eventScheduler("ral", xl, yl, zl, 3, 3000, 0, math.pi) 28 ctrl:eventScheduler("idle", 1) 29 ctrl:eventScheduler("mal", 0,0,1000, xl,yl,zl, 3) 30 ctrl:eventScheduler("idle", 1) 31 ctrl:eventScheduler("chl", xl, yl, zl, xr, yr, zr, 2) 32 ctrl:eventScheduler("idle", 1) 33 ctrl:eventScheduler("mal", xr + 600,yr,zr, xr,yr,zr, 4) 34 ctrl:eventScheduler("idle", 1) 35 ctrl:eventScheduler("chl", xr, yr, zr, xl, yl, zl, 3) 36 ctrl:eventScheduler("idle", 1) 37 ctrl:eventScheduler("spi", xm,ym,zm, 0,0,0, 4) 38 ctrl:eventScheduler("idle", 1) 25 ctrl:eventScheduler("mal", xl,yl,zl, xl,yl,zl, 10) 26 -- ctrl:eventScheduler("ral", xl, yl, zl, 3, 3000, 0, math.pi) 27 -- ctrl:eventScheduler("idle", 1) 28 -- ctrl:eventScheduler("mal", 0,0,1000, xl,yl,zl, 3) 29 -- ctrl:eventScheduler("idle", 1) 30 -- ctrl:eventScheduler("chl", xl, yl, zl, xr, yr, zr, 2) 31 -- ctrl:eventScheduler("idle", 1) 32 -- ctrl:eventScheduler("mal", xr + 600,yr,zr, xr,yr,zr, 4) 33 -- ctrl:eventScheduler("idle", 1) 34 -- ctrl:eventScheduler("chl", xr, yr, zr, xl, yl, zl, 3) 35 -- ctrl:eventScheduler("idle", 1) 36 -- ctrl:eventScheduler("spi", xm,ym,zm, 0,0,0, 4) 37 -- ctrl:eventScheduler("idle", 1) 39 38 40 39 end -
code/branches/plehmannFS16/data/levels/scriptController.oxw
r10622 r11152 54 54 </StaticEntity> 55 55 56 57 <StaticEntity position = "3000,0,0" mass=10000 collisionType=static > 58 <attached> 59 <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 /> 60 </attached> 61 </StaticEntity> 62 63 <StaticEntity position = "2000,0,0" mass=10000 collisionType=static > 64 <attached> 65 <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 /> 66 </attached> 67 </StaticEntity> 68 69 <StaticEntity position = "2500,500,0" mass=10000 collisionType=static > 70 <attached> 71 <Model mesh="cube_green.mesh" mass=10 position="0,0,0" scale=10 /> 72 </attached> 73 </StaticEntity> 74 56 75 <!-- ControllerDirector waits for the event takeControl to attach a new Controller --> 57 <ControllerDirector position="0,0,0" scriptname=" presentation">76 <ControllerDirector position="0,0,0" scriptname="testscript"> 58 77 <events> 59 78 <takeControl>
Note: See TracChangeset
for help on using the changeset viewer.