Add struct metafield
This commit is contained in:
1 parent
6e78ee188d
commit
cc85983736
10 files changed
+314
-19
No files matched your search
+4
-3
@@ -43,8 +43,9 @@ end
|
||||
-- mapLoad('map/testmap/testmap.dmf')
|
||||
localeSet(DUSK_LOCALE_EN_US)
|
||||
|
||||
function eventTest()
|
||||
print("Event system is working!")
|
||||
function eventTest(data)
|
||||
print("Pressed")
|
||||
data.action = 2
|
||||
end
|
||||
|
||||
eventSubscribe(EVENT_TEST, eventTest)
|
||||
eventSubscribe(INPUT_EVENT_PRESSED, eventTest)
|
||||
Reference in new issue
Block a user