Aller au contenu principal

Référence des étapes

29 étapes. Une étape est ce qu’un événement fait réellement quand son déclencheur se produit. Un script peut exécuter n’importe laquelle avec ctx.step(name, params) au lieu de réimplémenter le comportement.

Dans l'éditeurCatégorieObsolèteId (scripts, patches)
Contact downloadactioncontact_download_action
Compose emailactionemail_action
Release pointeractionexit_pointer_lock
File downloadactionfile_download_action
Follow objectactionfollow
Look at objectactionlook_at_target
Open messengeractionmessenger_action
Call phone numberactionphone_call_action
Lock pointeractionrequest_pointer_lock
Scene transitionactionscene_transit_action
Show / hide objectactionset_visibility
Space transitionactionspace_transit_action
Stop followingactionstop_follow
Open URLactionurl_transit_action
Fly along pathanimationfollow_path
Built-in animationanimationouilaunch_built_in_animation
Materialanimationouimaterial_animation
Opacityanimationouiopacity_animation
Play animationanimationplay_animation
Bone transformanimationouiskeletal_transform
Stop animationanimationstop_animation
Stop path flightanimationstop_follow_path
Transformationanimationouitransformation_animation
Send signallogicemit_signal
If — otherwiselogicif_action
Set variablelogicset_variable
Wait, thenlogicwait_action
Override propertiesstateoverride_state
Set statestateset_state

Paramètres

Contact download

Id contact_download_action · catégorie action

ParamètreTypeDéfautOptions / libellé
photoresourcePhoto
fullNamestringFull name
mobilePhonestringMobile phone
workPhonestringWork phone
homePhonestringHome phone
companystringCompany
emailstringEmail
positionstringPosition
addressstringAddress
websitestringWebsite

Compose email

Id email_action · catégorie action

ParamètreTypeDéfautOptions / libellé
emailstringEmail

Release pointer

Id exit_pointer_lock · catégorie action

Aucun paramètre.

File download

Id file_download_action · catégorie action

ParamètreTypeDéfautOptions / libellé
resourceresourceFile

Follow object

Id follow · catégorie action

ParamètreTypeDéfautOptions / libellé
targetentitynullFollow
distancenumber0Keep distance
offsetXnumber0Offset X
offsetYnumber0Offset Y
offsetZnumber0Offset Z
smoothingnumber0.2Smoothing
maxSpeednumber0Max speed
lockYbooleanfalseKeep own height
faceTargetbooleantrueFace target
turnSpeednumber0Turn speed

Look at object

Id look_at_target · catégorie action

ParamètreTypeDéfautOptions / libellé
targetentitynullLook at
turnSpeednumber0Turn speed
lockYbooleantrueKeep upright

Open messenger

Id messenger_action · catégorie action

ParamètreTypeDéfautOptions / libellé
platformselectfacebook, vk, instagram, whatsapp, telegram, viber, ok
valuestringValue

Call phone number

Id phone_call_action · catégorie action

ParamètreTypeDéfautOptions / libellé
phonestringPhone

Lock pointer

Id request_pointer_lock · catégorie action

Aucun paramètre.

Scene transition

Id scene_transit_action · catégorie action

ParamètreTypeDéfautOptions / libellé
sceneIdsceneScene

Show / hide object

Id set_visibility · catégorie action

ParamètreTypeDéfautOptions / libellé
visiblebooleantrueVisible

Space transition

Id space_transit_action · catégorie action

ParamètreTypeDéfautOptions / libellé
spaceIdspaceSpace
sceneIdscenenullScene

Stop following

Id stop_follow · catégorie action

Aucun paramètre.

Open URL

Id url_transit_action · catégorie action

ParamètreTypeDéfautOptions / libellé
urlstringURL
transitionTypeselect"new_tab"new_tab, same_tab

Fly along path

Id follow_path · catégorie animation

ParamètreTypeDéfautOptions / libellé
pathentitynullPath
durationnumber3Duration
loopselect"once"once, loop, ping_pong
orientbooleantrueFace along path
reversebooleanfalseReverse

Built-in animation

Id launch_built_in_animation · catégorie animation · obsolète (s'exécute encore, plus proposé dans les palettes)

ParamètreTypeDéfautOptions / libellé
builtInAnimationstringAnimation
startFramenumber0
delaynumber0
repeatCountnumber1

Material

Id material_animation · catégorie animation · obsolète (s'exécute encore, plus proposé dans les palettes)

ParamètreTypeDéfautOptions / libellé
materialIdresourceMaterial
durationnumber1
delaynumber0
repeatCountnumber1

Opacity

Id opacity_animation · catégorie animation · obsolète (s'exécute encore, plus proposé dans les palettes)

ParamètreTypeDéfautOptions / libellé
opacitynumber100
durationnumber1
delaynumber0
repeatCountnumber1

Play animation

Id play_animation · catégorie animation

ParamètreTypeDéfautOptions / libellé
animatorentitynull
presetIdstring""
loopTypeselect"once"once, count, forever
repeatCountnumber1
speednumber1
delaynumber0

Bone transform

Id skeletal_transform · catégorie animation · obsolète (s'exécute encore, plus proposé dans les palettes)

ParamètreTypeDéfautOptions / libellé
positionXnumber0
positionYnumber0
positionZnumber0
quatXnumber0
quatYnumber0
quatZnumber0
quatWnumber1
scaleXnumber1
scaleYnumber1
scaleZnumber1
durationnumber1
delaynumber0
loopTypeselect"count"once, count, forever
repeatCountnumber1

Stop animation

Id stop_animation · catégorie animation

ParamètreTypeDéfautOptions / libellé
animatorentitynull
presetIdstring""

Stop path flight

Id stop_follow_path · catégorie animation

Aucun paramètre.

Transformation

Id transformation_animation · catégorie animation · obsolète (s'exécute encore, plus proposé dans les palettes)

ParamètreTypeDéfautOptions / libellé
rotationEnabledbooleantrue
rotationXnumber0
rotationYnumber0
rotationZnumber0
positionEnabledbooleantrue
positionXnumber0
positionYnumber0
positionZnumber0
scaleEnabledbooleantrue
scaleXnumber1
scaleYnumber1
scaleZnumber1
durationnumber1
delaynumber0
loopTypeselect"count"once, count, forever
repeatCountnumber1

Send signal

Id emit_signal · catégorie logic

ParamètreTypeDéfautOptions / libellé
signalstring""Signal
scopeselect"targets"targets, broadcast

If — otherwise

Id if_action · catégorie logic

ParamètreTypeDéfautOptions / libellé
sourceselect"always"always, variable, distance, state, visible, random
variablestring""Variable
targetentitynullObject
opselect"=="==, !=, >, >=, <, <=
valuestring""Value
thresholdnumber1Threshold
stateIdstatenullState
flagbooleantrueExpected

Set variable

Id set_variable · catégorie logic

ParamètreTypeDéfautOptions / libellé
variablestring""Variable
modeselect"set"set, add, toggle
valuestring""Value

Wait, then

Id wait_action · catégorie logic

ParamètreTypeDéfautOptions / libellé
secondsnumber1Delay

Override properties

Id override_state · catégorie state

ParamètreTypeDéfautOptions / libellé
patchrecord{}
durationMsnumber0
easingselect"ease-in-out"linear, ease-in, ease-out, ease-in-out

Set state

Id set_state · catégorie state

ParamètreTypeDéfautOptions / libellé
stateIdstateState
durationMsnumber0
easingselect"ease-in-out"linear, ease-in, ease-out, ease-in-out