Actions popularité : 67
Conditions popularité : 92
Triggers popularité : 87
Hotspots popularité : 90
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
IMAGE OR CARROUSEL for section header You successfully read this important alert message.

TEXTE AVANT FILTRAGE

Creating an Action

To create an Action, right click on the Hierarchy Panel and select Game Creator → Actions. Alternatively you can also add the Actions component to any Game Object or click on the Actions button from the Game Creator Toolbar.

Anatomy of an Action

An Action is a single instruction that when executed "does something". For example, the action Wait puts the execution on hold for a number of seconds.
Here’s an example of an action called Play Sound.

When an Action is executed in runtime it will be highlighted in light blue. This is very useful when you want to track which instruction is being executed.
To add a new Action click on the Add Action button. A categorized dropdown window will appear. You can navigate using your mouse or the keyboard.
Select which action you want to add and it will automatically be added at the end of the list.

Behavior Options

You can configure the behavior of an Action at the end of the component.

Run in Background

When the Run in background checkbox is marked the Action will always be executed when called. If the checkbox is left unmarked, if another Actions object is being executed and is set to run in the foreground, the first one won’t be executed.
In other words, two Actions can’t be executed at the same time if they both have the Run in background checkbox unmarked.

Destroy After Finishing

Game Creator is all about fast development. If you want to destroy an Actions object after all its instructions have been executed, mark this checkbox.
You can accomplish the same behavior using the Destroy action at the end of the container of Actions., though it’s faster this way.
You can add an Actions component below a Trigger component and let the Destroy After Finishing option destroy both the Actions and the Trigger. Useful if you want to execute it only once, for example, when picking an item.

Available Actions

Game Creator comes with a wide variety of pre-made Actions that will help you kickstart your project right away. Here’s the complete list of Actions that Game Creator comes with.
If you find an Action that is not documented here, please send us a message at hello@catsoft-studios.com and we’ll include it.


Camera

Action NameDescription
Adventure Camera Settings Change the settings of an Adventure Camera Motor
Change Camera Changes the currently active camera motor
Culling Mask Changes the Culling Mask of the main camera
Camera Damping Changes the smoothness in which the camera follows its target destination
Shake Burst Shakes the camera for a limited time
Shake Sustain Keeps the camera shaking for an unspecified time
Fixed Camera Settings Changes the settings of a Fixed Camera motor
Follow Camera Settings Changes the settings of a Follow Camera motor
FPS Camera Settings Changes the settings of a FPS Camera motor
Railway Camera Settings Changes the settings of a Railway Camera motor
Target Camera Settings Changes the settings of a Target Camera motor
Change FOV Changes the Field of View of the current main camera

Character

Action NameDescription
Character Attachment Attaches a prefab instance to a character bone or removes an attachment
Character Dash Make a Character move towards a position. The gradient falloff can be customized as well as its initial velocity
Character Blendshapes Animate transitioning a Character’s Blend-Shapes. Very useful for creating expressive characters.
Character Mount Sets the Character in Mount Mode. In this mode, the character can’t be controlled and collisions are ignored
Character Direction Changes the direction in which the character looks while idle, walking or running
Character Follow Makes a Character follow a target keeping a distance within a min and max radius
Character Gesture Plays an animation on a Character once. For more information on Gestures, click here.
Character Hand Makes a Character hand reach for a target using Inverse Kinematics
Inverse Kinematics Changes the Inverse Kinematics settings of a Character
Character Jump Makes a Character Jump
Character Model Changes the 3D model of a Character, retargeting all bones to the new ones
Move Character Makes a Character move towards a certain position using the Navigation Mesh, if any.
Change Property Change a Character property, such as Height, Is Controllable, Radius, ...
Character Ragdoll Changes the ragdoll state of the character
Character State Changes or resets the State of a Character. For more information on States click here.
Character State Weight Change a Character’s State weight or influence
Character Stop Gesture Forces a Character to stop the Gesture that it is currently being played
Teleport Instantaneously moves a Character from its position to a new one
Head Track Makes a Character’s head look at a target using Inverse Kinematics
Player Movement Input Changes the input scheme of the Player
Character Rotate Towards Pivot a Character around itself towards a target, using its angular speed
Set Character default State Sets the Character’s default State

Application

Action NameDescription
Cursor Changes the Cursor image, lock state and visibility
Open URL Opens the web browser and a specific webpage
Quality Settings Changes the quality settings of the game
Quit Game Exits the Application

Audio

Game Creator comes with an optimized Audio Manager that reuses audio sources in a ring-buffer so your game doesn’t experience hiccups when playing many sound effects at a time. Audio is divided in 2 categories

- Music: Background music set in a loop. You can change it by cross-fading between multiple tracks.
- Sounds: Or Sound Effects. These are small sounds that are played only once.

Action NameDescription
Pause Audio Pauses all audio effects
Play Music Plays a music track allowing you to fade it in
Play Sound Plays a single sound shot
Play Sound 3D Similar to Play Sound but allowing you to specify the source of the sound
Stop Music Stops the background music, allowing you to fade it out
Stop Sound Force a sound effect currently being played to stop
Change Volume Changes the volume of the background music, sound effects or both of them

Debug

These Actions allow to easily test your game and spot errors. These won’t have any impact on your final game build.

Action NameDescription
Debug Break Pauses the Editor
Debug Message Write a text message in the Console, using a Warning, Information or Error flags
Debug Name Prints the name of a Game Object through the Console
Debug Variable Prints the value of a Variable through the Console
Debug Beep Plays a Beep sound effect generated by the OS (Only works in the Editor)

General

|Action Name|Description|
|Execute Actions|Execute an Actions object and allows you to either continue the execution or wait till these Actions are finished to resume|
|Cancel Actions|Cancels the execution of an Actions object|
|Change Language|Changes the language of the game. All localized strings will be automatically updated|
|Comment|This Action does nothing and only serves to write down a note for the developer|
|Call Conditions|Executes a Conditions object, allowing you to continue the execution of wait till the Conditions are finished and resume|
|Dispatch Event|Dispatches a named event. More information about Event Dispatchers here.|
|Gravity|Change the general gravity|
|Call Methods|Allows you to call any method from any component as long as it has zero or one parameter|
|Restart Actions|Restarts the execution of the current Actions object|
|Time Scale|Changes the time scale as well as the fixed time scale. Useful fTEXTE APRES FILTRAGE
-  : liste tous les intertitres de l’article
-  : liste tous les documents de l’article sous forme de mini-vignette non cliquables. Avec deux paramètres :

width : largeur de la vignette en px,
raz : nombre de vignette sur une seule ligne. Juste après la Nième(raz) vignette, un
est inséré.

>