Skip to content

mtion studio sub-actions

Get active clubhouse

Finds out which clubhouse (project) is open in mtion studio and keeps its details for later steps.

Variables it adds

Variable What it holds
%mtion.running% True if mtion studio answered
%mtion.clubhouse.found% True if a clubhouse is open
%mtion.clubhouse.name% The clubhouse's name
%mtion.clubhouse.id% The clubhouse's id
%mtion.clubhouse.description% The clubhouse's description

Type id: mtion.getActiveClubhouse

Get external triggers

Reads the list of external triggers in the open mtion clubhouse and keeps it for later steps.

Variables it adds

Variable What it holds
%mtion.running% True if mtion studio answered
%mtion.triggerCount% How many triggers there are
%mtion.triggerNames% All trigger names, separated by commas
%mtion.triggers% The full list with parameters, as raw text

Type id: mtion.getTriggers

Send trigger

Fires an external trigger in mtion studio, for example to make your avatar celebrate. The trigger must exist in the clubhouse that is open.

Setting What to put in
Trigger The external trigger's name (or id) from the open clubhouse, like "Confetti".
Parameters Extra values the trigger takes, one per line as name=value, like "Amount=5". Use the parameter's name or its number (0, 1, ...). For a list-type value, give the option number, starting at 0. Leave empty for none.

Variables it adds

Variable What it holds
%mtion.running% True if mtion studio answered
%mtion.trigger.found% True if a trigger with that name exists in the open clubhouse
%mtion.trigger.sent% True if mtion accepted the trigger
%mtion.trigger.name% The trigger's name
%mtion.trigger.id% The trigger's id

Type id: mtion.sendTrigger