Thread

aw_instance_event_set / aw_event_set / aw_event (Sdk)

aw_instance_event_set / aw_event_set / aw_event // Sdk

1  |  

grimble

Jun 7, 2006, 7:20am
Can anyone shed any light on how to use these methods properly please? For
example, I assume that ...

** aw_event_set works as before, setting a global event handler for all
instances (?)
** aw_instance_event_set sets the event handler for the current instance
(identified with aw_instance_set)
** aw_event returns the event handler based on the the current instance
(identified with aw_instance_set - Instance = zero for global handler?)

Assuming that the above is true (please correct me if not), if both the
global and instance event handlers are installed, are they both called? ...
and if so, in what order?

I could experiment with this, but playing with the SDK at the moment is more
of a chore than any fun with the current release, so any info would be
appreciated.

Thanks, Grims

cotarr

Jun 7, 2006, 8:21am
I'm curious about the Instance=0 events also. The first thing I
noticed was that when starting the SDK, one initial Universe Update is
received with Instance=0. I've never seen instance=0 events in 3.6.
-cotarr

On 7 Jun 2006 05:20:52 -0400, "Grimble"
[View Quote] >Can anyone shed any light on how to use these methods properly please? For
>example, I assume that ...
>
>** aw_event_set works as before, setting a global event handler for all
>instances (?)
>** aw_instance_event_set sets the event handler for the current instance
>(identified with aw_instance_set)
>** aw_event returns the event handler based on the the current instance
>(identified with aw_instance_set - Instance = zero for global handler?)
>
>Assuming that the above is true (please correct me if not), if both the
>global and instance event handlers are installed, are they both called? ...
>and if so, in what order?
>
>I could experiment with this, but playing with the SDK at the moment is more
>of a chore than any fun with the current release, so any info would be
>appreciated.
>
>Thanks, Grims
>

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn