mirror of
https://github.com/weyne85/DML.git
synced 2025-10-29 16:57:49 +00:00
Version 0.9986
baseCaptured cloneZones embarkation xFlags xCount
This commit is contained in:
13
tutorial & demo missions/microskel.lua
Normal file
13
tutorial & demo missions/microskel.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
skel = {}
|
||||
function skel:onEvent(event) -- event handler
|
||||
end
|
||||
|
||||
function skel.update()
|
||||
-- schedule next update invocation
|
||||
timer.scheduleFunction(skel.update, {}, timer.getTime() + 1)
|
||||
-- your own stuff and checks here
|
||||
trigger.action.outText("DCS, this is Lua. Hello. Lua.", 30)
|
||||
end
|
||||
|
||||
world.addEventHandler(skel) -- connect event hander
|
||||
skel.update() -- start update cycle
|
||||
Reference in New Issue
Block a user