Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onScriptStart() --called when script is loaded
- MsgBox("Hello World")
- end
- function onScriptCancel() --called when the script ends
- MsgBox("Bye :(")
- end
- function onScriptUpdate() --called every frame
- if saidHello == false and GetFrameCount() == 300 then --test message once after 300 frames
- saidHello = true
- MsgBox("Test 12, 123")
- end
- end
- function onStateLoaded() --gets called when a savestate was loaded successfully by the lua script
- end
- function onStateSaved() --gets called when a savestate was saved successfully by the lua script
- end
Advertisement
Add Comment
Please, Sign In to add comment