- Timestamp:
- May 17, 2018, 4:04:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_FS18/data/levels/scripts/AAAScriptableControllerTest.lua
r11936 r11974 60 60 61 61 62 function spawn_dummy() 63 orxPrint("Spawning dummy!") 64 spawnTest("dummy") 65 end 66 67 62 68 function kill_player_after_timeout(pawn) 63 69 orxPrint("Killing player after 5s") … … 86 92 87 93 94 function spawn_dummy_after_timeout(seconds) 95 orxPrint("Spawning dummy after " .. tostring(seconds)) 96 registerAfterTimeout(spawn_dummy, seconds) 97 end 88 98 89 99 90 move_dummy_after_timeout(5)91 kill_dummy_after_timeout(10)92 100 93 101 … … 96 104 97 105 98 spawn("ModularSpaceShip", "sepp") 99 setPosition("sepp", 500, 0, 0) 106 spawn_dummy_after_timeout(5) 107 108
Note: See TracChangeset
for help on using the changeset viewer.