source:
data/trunk/scripts/spacestation/spaceship_hangar.lua
@
4476
Last change on this file since 4476 was 4468, checked in by snellen, 18 years ago | |
---|---|
File size: 290 bytes |
Line | |
---|---|
1 | -- Create the trigger |
2 | trigger = ScriptTrigger() |
3 | trigger:setName("maintrigger") |
4 | trigger:setScript("spaceship_hangar.lua") |
5 | trigger:setFunction("tick") |
6 | trigger:setActiveOnCreation(true) |
7 | |
8 | |
9 | |
10 | |
11 | -- THE tick function |
12 | |
13 | function tick(timestep) |
14 | --io.write("Hangarscript called \n") |
15 | |
16 | |
17 | return false |
18 | end |
Note: See TracBrowser
for help on using the repository browser.