Actions
Notes about Actors:
- The "Event Actor" is the Actor that currently receives the event.
- If an Actor's name is selected, all of the Actor's clones will receive the action.
- If the "Collision Event" is selected, the "Collide Actor" is the
Actor
that currently collides.
- An Actor's Action is immediately executed when an Event occurs,
or it can be put in a queue, to be executed when certain frames of a specified
animation are displayed.
Action execution: |
Clicking the "Add" button for all Actor Actions, enables you to choose if an action will execute immediately at an event's occurrence, or if the action will be executed at a specific frame: "Wait for Frame". Animation:
Select an Actor Animation |
Change Animation: |
Change the current Actor's Animation. Actor:
Select the
Actor that will have its animation changed. This action will change the animindex variable. |
Change Animation Direction: |
Change the current Actor's Animation Direction. Actor:
Select the
Actor that will have its animation direction changed. |
Change Cursor: |
Change the current Actor's Mouse Cursor. Actor:
Select
the Actor. |
Change Parent: |
Change the selected Actor's Parent. Child:
Select the
Child Actor. |
Change Path: |
Change the selected Actor's Path. Actor:
Select the
Actor that will have its path changed. |
Change Transparency: |
Change the selected Actor's Transparency. Actor:
Select the
Actor that will have its transparency changed. |
Change Z Depth: |
Change the selected Actor Depth. Actor:
Select
the Actor that will have its position changed relative to the Z axis. |
Collision State: |
Enable or Disable collisions on selected Actor. Actor:
Select the
Actor. |
Conditional Action: |
Call Actions if Expressions match certain Conditions. Expression
1 and Expression 2:
Expressions
that will be compared. |
Create Actor: |
Put a new Actor in the game. Actor:
New Actor's name. |
Create Timer: |
Create a Timer for the selected Actor.
Actor:
Select the Actor.
Name:
New timer name. |
Destroy Actor: |
Destroy the selected Actor. Actor: Select the Actor to be destroyed. |
Destroy Timer: |
Destroy the selected Timer. Timer: Select the Timer to be destroyed. |
Event Disable: |
Disable a specified Event. Actor:
Select the
Actor. |
Event Enable: |
Enable a specified Event. Actor:
Select the
Actor. |
Follow Mouse: |
Make the Actor Follow the Mouse. Actor:
Select the
Actor that will follow the mouse. |
Move To: |
Move the Actor to a specified position, at a specified velocity. Actor:
Select the
Actor. |
Physical Response: |
Physically Move an Actor after a Collision Event. Move:
After collision, move "Event Actor Only", "Collide Actor
Only" or "Both Actors" Final
velocity multiplier: |
Play Music: |
Play selected music upon an Event. File:
Select
music file (Load wav, mid, ogg, mp3, mod, s3m, it, or xm music files). -
High: The game stops while the music loads, but is the fastest
music mode. Notes:
|
Play Sound: |
Play a selected Sound upon an Event. File:
Select
a sound File (wav, voc, iff audio files). |
Script Editor: |
Enter
a C Script to be executed upon an Event. Variables: Selecting this button allows you to add, edit, or remove your variables. All variable attributes, excepting the variable name, can be edited.
Add: Name:
Variable
name. Variable names must begin with characters and must be followed by
characters, numbers or '_'. Script Function names and Vars names are not
already assigned. They cannot be used in the "New Variable" Name.
(Example: int MyNewActor; OK ................ int CreateActor;
Not OK)
File:
Save
and load Script Editor scripts. Global Code: Global Code can be accessed by any script. Use the Global Code Editor to freely add any C code (arrays, structs and functions).
After entering your code, enter a name for it and click in "Add" button. Note: changing any of the internal Actor's variables has no effect on the Global Code.
|
Set Text: |
Set or change the Actor text. See text actor. |
To Anterior Position: |
Send the Actor to the Anterior Frame Position. Actor: Select the Actor. |
Visible State: |
Show or Hide the selected Actor. Actor:
Select the
Actor. |