Subscene
Plays or stops a named subscene, which is a group of animations that run together. Supports looping and blocking until all animations in the group finish.
Side
SERVER
Syntax
subscene <action:string> <subsceneName:string> [loop:boolean=false] [unique:boolean=false] [--block]Parameters
action(string, required): What to do. Accepted values:play,stop.subsceneName(string, required): Name of the subscene as defined in the scene editor.loop(boolean, optional): Iftrue, all animations in the subscene restart when they all finish. Defaults tofalse.unique(boolean, optional): Iftrue, character entities are killed when the subscene ends. Defaults tofalse.--block(flag, optional): Pauses story progression until all animations finish. Only applies toplay.
Examples
ink
// Play a group of characters walking in together
# subscene play guards_enterink
// Play a looping ambient crowd subscene
# subscene play crowd_idle loop:trueink
// Play a combat sequence and wait for it to finish
# subscene play battle_intro --blockink
// Stop a running subscene
# subscene stop crowd_idle