Re: TokenMoveFrom event send twice during Scene destruction

Andreas Kraft (kraft@fokus.gmd.de)
Tue, 24 Nov 1998 12:34:56 +0100 ((MEZ) Mitteleurop. Zeit)

Stephane,

On Tue, 24 Nov 1998, Stephane ALLIZON wrote:

> I agree with your analyze but only for the TransitionTo elementary action.
> This action does first the Scene Deactivation behaviour and then the Scene
> Destruction behaviour. And this works !
> But for Launch elementary action, the step are only Scene Destruction
> behaviour. And this doesn't work well for TokenGroup.

Now I understand the confusion.

Regarding the Launch action where the Scene is "only" destructed please re-read
the second paragraph of the Deactivation behaviour of the Group carefully:

2. Apply the Deactivation behaviour to all __active__ Ingredients of the
Group, in the reverse order they are listed in the Items attribute.

After the first round of the Group's Destruction behaviour all Ingredients
are inactive which means that the Deactivation behaviour is _not_ executed
again.

Best regards,

Andreas

-- 
  o  _     Andreas Kraft
 (\_|_)      GMD FOKUS, kraft@fokus.gmd.de, +49 30 3463-7232
 T> ] [        The sky is the limit