Resets all event system global variables to their default values.
Takes no parameters.
Returns nothing.
BGI GUI
Parameters & Returns
Parameters
This function takes no parameters.
Returns
Void
Quick Summary
Resets all event system global variables to their default values.
Takes no parameters.
Returns nothing.
Technical Exegesis...
Resets all event system global variables to their default values. Sets LuiEvent=0, LuiEventID=0, LuiSource=0, LuiData=0, and LuiEventExtra="" (empty string). No return value.
This function clears the current event state, preparing the event system for the next event. Called after processing an event to prevent stale event data from being read.
Resets all event system global variables to their default values. Sets LuiEvent=0, LuiEventID=0, LuiSource=0, LuiData=0, and LuiEventExtra="" (empty string). No return value.
This function clears the current event state, preparing the event system for the next event. Called after processing an event to prevent stale event data from being read. The five global variables store the most recent event information: LuiEvent (event message type), LuiEventID (control type identifier), LuiSource (gizmo ID that triggered the event), LuiData (additional integer data), and LuiEventExtra (additional string data). Use at the end of event processing loops to ensure clean state. Common pattern: check for event with bgiGetEventMessage, process event, then call bgiFlushEvent to clear.