Event Handler Reset

An event handler reset occurs when you click Reload Handlers on the Events menu and a reset is needed. This forces a complete reset of the host and client sessions in the script manager.

The Design Tool displays a Reset Needed indicator () in the status window whenever the script manager cannot respond. Some conditions that produce this indicator are:

Click Reload Handlers on the Events menu to force a reset.

Event Handler Reset Sequence

This is the reset sequence for the event handler script manager:

  1. The Client Session Destroyed event is fired.
  2. The Host Session Destroyed event is fired.
  3. The Model Unloaded event is fired.
  4. The Model Loaded event is fired.
  5. The Host Session Created event is fired.
  6. The Authenticate User event is fired, with any resulting errors displayed in the Event Handler Console.
  7. The Client Session Created event is fired.

If a reset causes the script manager to be recreated when an existing script manager cannot be contacted, steps 1-3 are omitted.

 

Related Topics
Bullet Debugging event handlers
Bullet Connection Events test