OnProcess: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:
|games = iii vc sa iv
|games = iii vc sa iv
|desc = each processing cycle occurs (sometimes referred to as tick or pulse)
|desc = each processing cycle occurs (sometimes referred to as tick or pulse)
|arg1 = int deltaTime The delta time for this processing cycle.
|arg1 = float deltaTime The delta time for this processing cycle, in seconds. 1.0 = 1 second.
|cancel = false
|cancel = false
|notes = The delta time is the duration between the current and previous event triggers, in seconds.
|exampleLua = addEventHandler("OnProcess", function(event,deltaTime)
|exampleLua = addEventHandler("OnProcess", function(event,deltaTime)
message("Process event occurred.", COLOUR_RED)
message("Process event occurred.", COLOUR_RED)
end)
end)
}}
}}
6,834

edits