OnBeforeProcessCamera: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{ScriptItem2 | ||
| | |name = onBeforeProcessCamera | ||
|side = client | |||
|type = event | |type = event | ||
| | |games = iii vc sa iv | ||
| | |desc = each camera processing occurrence occurs, before the camera is processed | ||
| | |cancel = false | ||
|exampleLuaCS = addEventHandler("onBeforeProcessCamera", function(event) | |exampleLuaCS = addEventHandler("onBeforeProcessCamera", function(event) | ||
outputChatBox("The camera is about to be processed.", COLOUR_ORANGE) | outputChatBox("The camera is about to be processed.", COLOUR_ORANGE) | ||
end) | end) | ||
}} | }} |
Latest revision as of 20:28, 19 November 2022
Event
Client Only
Online and Offline
Not Cancellable
Available since Client 1.0.0
onBeforeProcessCamera(Event event)
The onBeforeProcessCamera event is invoked when each camera processing occurrence occurs, before the camera is processed.
Parameters
void | This event doesn't take any parameters. |
Attributes
const | This event cannot be cancelled. |
Notes
There aren't any notes for this event.
Examples
Example 1 - Lua - Client-Side:
addEventHandler("onBeforeProcessCamera", function(event)
outputChatBox("The camera is about to be processed.", COLOUR_ORANGE)
end)
Compatibility
There isn't any compatibility information for this event.
Related
Client Related
OnBeforeProcessCamera
OnCameraProcess