Skip to content

Event actions ​

An action is the do of an event. An event runs its actions in order, and each one finishes before the next one starts: a Wait action really waits, and a Popup action can wait until the popup is closed. An action that cannot do what it was asked (a quest that cannot start, an object that does not exist) fails, and so does its event. There are 90 kinds, in 13 categories. Choose one with Add Action in the event editor.

Audio ​

Play or stop music, ambience and sounds.

ActionWhat it does
Play SFX At Position (PlaySFXAtPositionAction)Play a sound effect at a 3D position
Play SFX Global (PlaySFXGlobalAction)Play a sound effect globally (2D audio): any sound, the interface sounds too
Play Voice Line (PlayVoiceLineAction)Speak a voice line on the Voice channel, with its subtitle. Place chooses where it is heard from: the Narrator (from nowhere, 2D: a voice over, a cutscene), an Entity (its unique id; the line follows it) or a Position of the world (3D). Can wait until the line is over
Spawn Sound (SpawnSoundAction)Spawn a 3D sound at a position, a marker, an entity or an interactable; it can loop and be stopped
Stop Sound (StopSoundAction)Fade out and remove a sound spawned under a name
Set Ambience Track (SetAmbientTrackAction)Play, stop, fade or clear an ambient track: the event layer of the sound layers
Set Music Track (SetMusicTrackAction)Play, stop, fade or clear a music track: the event layer of the sound layers
Set Music State (SetMusicStateAction)Change the state of the Dynamic Music that plays (or start one in that state)
Set Music Intensity (SetMusicIntensityAction)Set the intensity (0 to 1) of the Dynamic Music that plays: its layers fade in and out
Play Stinger (PlayStingerAction)Play a stinger of a Dynamic Music over the music

Encounter ​

Change what an encounter is doing.

ActionWhat it does
Change Encounter Behavior (ChangeEncounterBehaviorAction)Dynamically change a Encounter's formation and behavior
Kill All Encounter Entities (KillAllEncounterEntitiesAction)Kill all entities in a Encounter
Set Pack Active State (SetPackActiveStateAction)Activate or deactivate an encounter (it hides and stops its members while it is off)
Force Encounter Combat (ForceEncounterCombatAction)Force a Encounter into or out of combat

Entity ​

Spawn, move, activate, heal, kill, or change the behavior of NPCs.

ActionWhat it does
Grant Effect To Entity (GrantEffectToEntityAction)Grant an effect to a specific entity
Kill Entity (KillEntityAction)Instantly kill a specific entity
Remove All Effects From Entity (RemoveAllEffectsFromEntityAction)Remove all effects from a specific entity
Remove Effect From Entity (RemoveEffectFromEntityAction)Remove an effect from a specific entity
Set Entity Active State (SetEntityActiveStateAction)Activate or deactivate an entity
Set Entity Behavior Script (SetEntityBehaviorScriptAction)Change an entity's behavior script at runtime
Set Entity Combat Script (SetEntityCombatScriptAction)Change an entity's combat script at runtime
Set Entity Faction (SetEntityFactionAction)Change the faction of a specific placed NPC, so it can turn friendly or hostile in the middle of a story
Mount Entity (MountEntityAction)Put a placed NPC on a placed mount or vehicle, on the seat you give or the first free one. See Mounts
Dismount Entity (DismountEntityAction)Get a placed NPC off what it rides
Set Vehicle Hijackable (SetVehicleHijackableAction)Open or close a vehicle to being hijacked, for a story step
Set Entity Position (SetEntityPositionAction)Teleport/move an entity to a specific position
Say Action (SayAction)Makes an NPC say a line, or describes something with no speaker ("The ground rumbles."): see Chat > Lines
Spawn Entity (SpawnEntityAction)Spawn a new entity (NPC) at a specific position

Environment ​

Change the weather and the time, sun, sky and environment configs, and spawn visual and world effects.

ActionWhat it does
Create VFX (CreateVFXAction)Spawn a VFX at a specific position or on a target
Set Environment Config (SetEnvironmentConfigAction)Change the environment configuration at runtime, at once or blended over seconds (fog, light, sun, colour grade, camera, wind slide to the new look), held for a time or until cleared. See Changing a look over time
Set Sky Config (SetSkyConfigAction)Change the sky configuration at runtime, at once or blended over seconds
Clear Environment Look (ClearEnvironmentLookAction)Ends the sky and/or the environment an event set: the look of the zone the party is in (or of the world) comes back over the blend seconds. See Changing a look over time
Set Sun Config (SetSunConfigAction)Change the path of the sun at runtime (where it stands and when it rises and sets; how it looks is the Environment config)
Set Time Config (SetTimeConfigAction)Change the time configuration at runtime
Set Weather (SetWeatherAction)Change the current map's weather at runtime: for the whole world, or only for the zone the party is in (Scope). It stays until released
Release Weather (ReleaseWeatherAction)Take away the weather that Set Weather set (for the world, for the current zone, or all), so the zones and the world decide again. See Weather tables
Set Weather Intensity (SetWeatherIntensityAction)Make the weather that is on lighter or heavier over some seconds, without bringing another one
Spawn World Effect (SpawnWorldEffectAction)Spawn a world effect at a specific position World effects are environment-based and don't have a specific caster

General ​

Wait, branch (If and Switch), change world, play cutscenes and cinematics, move the camera, grant rewards, end the game.

ActionWhat it does
Run Event (RunEventAction)Runs another event (a global one): the link from a local event to the story. Goes on at once or waits until it is over
Run Local Event (RunLocalEventAction)Runs, switches on or off, or resets a local event of the world the party is in
Await (AwaitAction)A simple action that introduces a delay in the action execution sequence.
Manipulate Camera (ManipulateCameraAction)Manipulate the game camera through the CameraController.
Change World (ChangeWorldAction)Action for changing the current map while preserving game session state.
Cinematic (CinematicAction)Play or stop a video cinematic
Cutscene (CutsceneAction)Play or stop an in-game cutscene
Force Game Over (ForceGameOverAction)Ends the game now: the game over screen, whatever the death behaviour of the gameplay settings says
Grant Reward (GrantRewardAction)Grant a reward to the current player
If (IfAction)A conditional action that only executes its child actions if all conditions are met.
Switch (SwitchAction)A multi-branch conditional action that executes different sets of actions based on which condition is met first.

Interactable objects ​

Open, close, lock, unlock, switch, repair, break or spawn doors, chests, switches and destructibles.

ActionWhat it does
Add Items To Interactable (AddItemsToInteractableAction)Add items to a container's inventory
Clear Container (ClearContainerAction)Empty all items and currency from a container
Control Door (ControlDoorAction)Open or close a door
Damage Interactable (DamageInteractableAction)Deal damage to a destructible object
Destroy Interactable (DestroyInteractableAction)Instantly destroy a destructible object
Repair Interactable (RepairInteractableAction)Repair/heal a destructible object
Force Teleport Entity (ForceTeleportEntityAction)Force an entity to teleport through a rabbit hole programmatically
Grant Effect To Interactable (GrantEffectToInteractableAction)Grant an effect to a specific interactable object
Lock Object (LockObjectAction)Lock or unlock an interactable object
Remove All Effects From Interactable (RemoveAllEffectsFromInteractableAction)Remove all effects from an interactable object
Remove Effect From Interactable (RemoveEffectFromInteractableAction)Remove a specific effect from an interactable object
Remove Items From Container (RemoveItemsFromContainerAction)Remove items from a container's inventory
Set Interactable Position (SetInteractablePositionAction)Teleport/move an interactable to a specific position
Set Rabbit Hole Destination (SetRabbitHoleDestinationAction)Change a rabbit hole's destination at runtime
Set Rabbit Hole State (SetRabbitHoleStateAction)Set a rabbit hole's state (ACTIVE/DISABLED/BROKEN)
Set Switch State (SetSwitchStateAction)Set a switch or light to a specific state (ON/OFF/BROKEN)
Set Trap State (SetTrapStateAction)Set a trap to ARMED state (ready to trigger)
Spawn Interactable (SpawnInteractableAction)Spawn a new dynamic interactable at a specific position
Toggle Switch (ToggleSwitchAction)Toggle a switch between ON and OFF states

Interactions ​

Change the interaction of an NPC or an object.

ActionWhat it does
Set Conversation Response State (SetConversationResponseStateAction)Set the active state of a conversation response
Set Conversation Starting Chat (SetConversationStartingChatAction)Set which chat a conversation starts from on next interaction
Set Primary Interaction (SetPrimaryInteractionAction)Set interaction
Set Responses By Tag (SetResponsesByTagAction)Enable/disable all responses with a specific tag

Items ​

Put items on the ground.

ActionWhat it does
Drop Item (DropItemAction)Puts an item (or a pile of a currency) on the ground as a dropped item: at a position, where an NPC stands or where the player stands. Launch throws it up so it falls and bounces; off, it is put down. It fails when dropped items are switched off

Drop Item ​

Fields: Item and Quantity (and Item level for a generated item), or Currency and Currency amount; Place (Position, At entity with the unique id of the NPC, or At player); Drop position; Launch. Use it for a quest reward left on a table, a key that falls from the ceiling, coins that spill from a chest.

Party ​

Change the size of the party, or add and remove companions.

ActionWhat it does
Add Player To Party (AddPlayerToPartyAction)Add a player to the party from a CharacterDefinition
Change Party Size (ChangePartySizeAction)Change the maximum party size (members beyond a smaller size wait in the reserve)
Remove Player From Party (RemovePlayerFromPartyAction)Remove a player from the party

Player ​

Grant or remove effects, move or kill the player characters, change their combat script.

ActionWhat it does
Change Inventory Size (ChangeInventorySizeAction)Action that makes the bag of player(s) bigger (or smaller) for good: more slots, more carry capacity.
Grant Effect To Player (GrantEffectToPlayerAction)Grant an effect to player(s)
Kill Player (KillPlayerAction)Kill player(s) (trigger death state)
Remove All Effects From Player (RemoveAllEffectsFromPlayerAction)Remove all effects from player(s)
Remove Effect From Player (RemoveEffectFromPlayerAction)Remove a specific effect from player(s)
Repair Equipment (RepairEquipmentAction)Repairs the worn equipment of player(s) by a share of its maximum durability (100 % = fully). Needs durability on
Set Action Bar Slot (SetActionBarSlotAction)Action that puts an ability on a slot of the action bar of player(s), empties a slot, or locks and unlocks it.
Set Player Combat Script (SetPlayerCombatScriptAction)Change player(s) combat script at runtime
Set Player Position (SetPlayerPositionAction)Teleport/move player(s) to a specific position
Take Currency (TakeCurrencyAction)Action that takes currency from player(s): a fee, a bribe, the meat a quest asks for when a currency stands for it.
Take Items (TakeItemsAction)Action that takes items out of the bag of player(s): a toll, a payment, items handed over to an NPC.

Quest ​

Start, finish, fail or give up quests and quest lines, and complete their objectives.

ActionWhat it does
Abandon Quest (AbandonQuestAction)Takes a quest off the player as if they had given it up (the quest goes back to the start and can be taken again; it is not a failure).
Activate Quest (ActivateQuestAction)Starts a quest. The event decides: requirements, cooldown and a quest done before do not stop it (see Events).
Activate Quest Line (ActivateQuestLineAction)Starts a quest line (its first step).
Complete Quest (CompleteQuestAction)Completes a quest at once, whatever its objectives (and gives its rewards); a quest that is not running is started first.
Complete Quest Objective (CompleteQuestObjectiveAction)Completes one objective of a running quest (for an objective that nothing in the world measures: "talk to the king" decided by an event).
Fail Quest (FailQuestAction)Fails a running quest (the deadline passed, the one to protect died).
Fail Quest Objective (FailQuestObjectiveAction)Fails one objective of a running quest.

Ground weather ​

Change how the ground looks in the weather.

ActionWhat it does
Camera Shake (CameraShakeAction)Shakes the camera of the player: amount, duration, and optionally a position and a radius so it is weaker the farther the camera is. See Camera effects
Screen Look (ScreenLookAction)Sets a named look of the screen (tint, vignette, blur, grey, colour fringes, grain, field of view kick), for a time or until another Screen Look action clears it by name. See Camera effects
Set Ground Weather (SetGroundWeatherAction)Changes how the terrain looks in the weather: how wet the ground is, how much snow lies on it, and its tint (a season). The levels can be set once or held until released. See Ground weather.

Spawner ​

Switch a spawner on or off, make it start over, or roll a spawn table at a place.

ActionWhat it does
Reset Spawner (ResetSpawnerAction)Makes a spawner start over: what it made is taken away (or left standing and forgotten), every place is empty and the spawner rolls its table again at its next look, without waiting for a respawn time.
Set Spawner Active (SetSpawnerActiveAction)Switches a spawner on or off. A spawner that is off makes nothing new (what it made stays); switching it on lets it work again.
Spawn From Table (SpawnFromTableAction)Rolls a spawn table and makes what comes up at a place, once: an ambush from the bushes, a pack that runs out of the cave when a lever is pulled, loot that drops from the ceiling.

Time ​

Skip ahead to a time of day, or advance the clock.

ActionWhat it does
Advance Time (AdvanceTimeAction)Advance the game time by a specified number of minutes using ChronoManager
Set Time Of Day (SetTimeOfDayAction)Set the game time of day using ChronoManager with formatted string

User interface ​

Show or hide a popup.

ActionWhat it does
Popup (PopupAction)Shows or hides a popup (a scene built on PopupUI: a tutorial, a message, a toast, an achievement).

Variable ​

Set, change and read global variables and the variables of the event.

ActionWhat it does
Modify Global Variable (ModifyGlobalVariableAction)Modify a global variable (numeric operations and string manipulation)
Set Global Variable (SetGlobalVariableAction)Set a global variable to a specific value
Manipulate Local Float Variable (ManipulateLocalFloatVariableAction)Manipulate a local float variable
Manipulate Local Int Variable (ManipulateLocalIntVariableAction)Manipulate a local integer variable
Manipulate Local String Variable (ManipulateLocalStringVariableAction)Manipulate a local string variable
Set Local Bool Variable (SetLocalBoolVariableAction)Set a local boolean variable to a specific value
Set Local Float Variable (SetLocalFloatVariableAction)Set a local float variable to a specific value
Set Local Int Variable (SetLocalIntVariableAction)Set a local integer variable to a specific value
Set Local String Variable (SetLocalStringVariableAction)Set a local string variable to a specific value
Toggle Local Variable (ToggleLocalVariableAction)Toggle a local boolean variable

See also ​