[bf1942] Switching handling sequence

Steven "test" Hartland killing at multiplay.co.uk
Mon Jul 17 11:10:40 EDT 2006

Nope which ever registers first gets notified first.

Might want to consider changing them to MM modules
which might well provide you with the info you want.

"Einar S. Idsø" wrote:
> Hi,
> If there are two modules for BF2 which both register a gamestatus
> handler, is there any way in which I can change which event is run
> first without changing the loading sequence of the modules?
> Example:
> mod1.py has
> host.registerGameStatusHandler(self.mod1GSChanged)
> while mod2.py has
> host.registerGameStatusHandler(self.mod2GSChanged)
> If mod1.py is loaded before mod2.py from __init__.py, then
> mod1GSChanged() is always run before mod2GSChanged(). Is there any way
> to rearrange this so that mod2GSChanged() is always run first without
> modifying __init__.py?

This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.

More information about the Bf1942 mailing list