Activation Events
Activation Events are Events sent to other Actors when a specified Event
happens (Collision,MouseDown,Key
Down, etc.).
Visualize a game where some Actors will be move when the main Actor is at a certain
place on the game's screen. Activation Events easily serve this purpose.
To Create
an Activation Event:
Right click on an Actor to
Create an Activation Event.
Select "New Activation
Event" from the pop-up box, and define an Event that will generate the Activation Event.
Next, choose
the Actor(s) that will receive the Activation Event.
A line will be drawn from the
Actor that is generating the Event to the Actor
that will receive the Event. The line is a green to red gradient. Green
indicates the generation of the Event and red indicates the reception of the
Event. The Activation Event's flow can easily be visualized via this line.
Press
the Esc key to end.
Purposely, cloned Actors do not share Activation Events. This is
done so that cloned Actors can
be accessed individually.
Stopping the cursor on top of an activation line, opens a tool tip detailing
the Activation Event.
The activation event can be removed by right click in activation line, and select
"Remove"
Actors can generate Activation Events from Activation Events. This allows more complex procedures
to be made.
Choose the event "Activation Event" in the Actor
Control to define the Action that will occur when an Activation Event happens:
An Action can be defined depending on the Actor that is sending Activation Event.
Thus, different actions can happen for different Actors' "Activation Events".
Choose "Any Actors" and the Action will happen when the Actor receives
an "Activation Event" of any linked Actor to him.
Choose "All Actors" the action will only happen when all of the linked
Actors to him send an "Activation Event".
By utilizing the "From Actor", special Actors can be made to do logical
operations:
Actors "OR" are obtained through "Activation Event (Any Actor)"
Actors "AND" are obtained through "Activation Event (All Actors)"
Activation generated Events don't appear in the Actor Control, because they are
not shared by the clones.
When clicked, the "Show"
or "Hide" option listed in the Actor's pop-up box will "Show"
or "Hide" the Activation lines on the Game Editor's screen. The lines are not
visible in game mode.