I have some questions about event hooks (some of this I posted on the event hook thread in the beginners area, sorry for cross posting, although I have added more to this and I thought this was a better place for it)
the hook function, when it is called by an event taking place data contains the last event data.
what does context contain?
and you only return the data from the hook function if you want another hook function to work on the same event?
Are all hooks processed in order of adding them and are they all processed.
Also can you make your own events and check for them in the same way you would the default events, such as EVENT_WINDOWCLOSE and EVENT_MOUSEDOWN? Or is it that addhook needs to be used for that?
Cheer.
the hook function, when it is called by an event taking place data contains the last event data.
what does context contain?
and you only return the data from the hook function if you want another hook function to work on the same event?
Are all hooks processed in order of adding them and are they all processed.
Also can you make your own events and check for them in the same way you would the default events, such as EVENT_WINDOWCLOSE and EVENT_MOUSEDOWN? Or is it that addhook needs to be used for that?
Cheer.