Skip to content

sequence.play

function

Plays a Sequence for the players and returns it at once. Its markers and completed fire at their times.

sequence.play(target: Target?, definition: SequenceDefinition) -> Sequence
example
local run = sequence.play(player, { duration = 3, tracks = { sequence.caption({ { time = 0.5, text = "Ready?" } }) } })

Use it forplaying an intro cutscene for a player the moment they reach the boss room.

targetoptionalOne player, a list of players, or nil for every player in the game now.
definitionThe duration, the tracks and the markers.
Build a play callduration · tracks · markers
  • durationrequired

    How long the sequence plays in seconds, which must be above 0 and at most 300.

  • tracks

    The tracks to play, made with functions like sequence.camera and sequence.caption, up to 16 of them with at most one camera track.

  • markers

    Up to 64 named moments that fire marker on the server, where each name has 1 to 64 characters.

Tip of the day

From: USBX

HOME Menu

Wii Menu

Wii Remote Settings