Skip to content

Trigger types

Generated from the source code of the Toto backend (version 2.4.8).

Trigger types (t of a trigger), in the order in which they are executed within one step of a session.

Type Fires when Executed by the engine
OnStoryInitialize the session is initialized yes
OnStoryJoin another player joined the session no – can be configured but is not executed
OnStoryStart the session is started yes
OnStoryCancel the story was canceled no – can be configured but is not executed
OnStoryFinish the story was finished no – can be configured but is not executed
OnChallengeFinish the challenge is finished yes
OnElementSuccess the element is processed successfully yes
OnElementError a wrong answer, or the script of a dynamic element failed yes
OnElementSkip the task was skipped yes
OnChallengeRelease the challenge is released yes
OnElementRelease the element is released yes
OnElementRepeat the player fired the manual trigger of the element yes
OnObjectMessageReceived a TotoObject sent a message no – can be configured but is not executed
Element type Allowed trigger types
Choice OnElementRelease, OnElementRepeat, OnElementSuccess
Coin OnElementSuccess
Dynamic OnElementRelease, OnElementRepeat, OnElementSuccess, OnElementError
Info OnElementRelease, OnElementRepeat, OnElementSuccess
Task OnElementRelease, OnElementRepeat, OnElementSuccess, OnElementError, OnElementSkip

Triggers of other types are removed when an element is saved. See Triggers.