opx_infinityloading
Events
Last updated on
The local event and page channels of the loading module.
opx:on:loading:state
Client, local. A load started or ended, or the cover came or went. Never raised for a progress tick. Only reaches code inside opx_infinity's client VM.
AddEventHandler('opx:on:loading:state', function(state) end)- state:
tableactive:boolean— the platform's own flagcover:boolean— OPX is drawing over the native screenkind:string— as inStateid?:any— the platform's load cycle id
AddEventHandler('opx:on:loading:state', function(state)
if state.active then M.PauseScan() else M.ResumeScan() end
end)