Schritte
Es gibt 29 Schritte. Ein Schritt ist das, was ein Ereignis tut, wenn sein Trigger auslöst. Ein Skript kann jeden Schritt mit ctx.step(name, params) ausführen. So müssen Sie das Verhalten nicht selbst bauen.
| Im Editor | Kategorie | Veraltet | Id (für Skripte und Patches) |
|---|---|---|---|
| Kontakt herunterladen | action | — | contact_download_action |
| E-Mail schreiben | action | — | email_action |
| Zeiger freigeben | action | — | exit_pointer_lock |
| Datei-Download | action | — | file_download_action |
| Objekt folgen | action | — | follow |
| Objekt ansehen | action | — | look_at_target |
| Messenger öffnen | action | — | messenger_action |
| Telefonnummer anrufen | action | — | phone_call_action |
| Zeiger sperren | action | — | request_pointer_lock |
| Szenenübergang | action | — | scene_transit_action |
| Objekt ein-/ausblenden | action | — | set_visibility |
| Raumübergang | action | — | space_transit_action |
| Folgen beenden | action | — | stop_follow |
| URL öffnen | action | — | url_transit_action |
| Entlang des Pfads fliegen | animation | — | follow_path |
| Eingebaute Animation | animation | ja | launch_built_in_animation |
| Material | animation | ja | material_animation |
| Deckkraft | animation | ja | opacity_animation |
| Animation abspielen | animation | — | play_animation |
| Knochen-Transformation | animation | ja | skeletal_transform |
| Animation stoppen | animation | — | stop_animation |
| Pfadflug beenden | animation | — | stop_follow_path |
| Transformation | animation | ja | transformation_animation |
| Signal senden | logic | — | emit_signal |
| Wenn — sonst | logic | — | if_action |
| Variable setzen | logic | — | set_variable |
| Warten, dann | logic | — | wait_action |
| Eigenschaften überschreiben | state | — | override_state |
| Zustand setzen | state | — | set_state |
Einstellungen
Kontakt herunterladen
Id contact_download_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
photo | resource | — | Photo |
fullName | string | — | Full name |
mobilePhone | string | — | Mobile phone |
workPhone | string | — | Work phone |
homePhone | string | — | Home phone |
company | string | — | Company |
email | string | — | |
position | string | — | Position |
address | string | — | Address |
website | string | — | Website |
E-Mail schreiben
Id email_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
email | string | — |
Zeiger freigeben
Id exit_pointer_lock · kategorie action
Keine Einstellungen.
Datei-Download
Id file_download_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
resource | resource | — | File |
Objekt folgen
Id follow · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
target | entity | null | Follow |
distance | number | 0 | Keep distance |
offsetX | number | 0 | Offset X |
offsetY | number | 0 | Offset Y |
offsetZ | number | 0 | Offset Z |
smoothing | number | 0.2 | Smoothing |
maxSpeed | number | 0 | Max speed |
lockY | boolean | false | Keep own height |
faceTarget | boolean | true | Face target |
turnSpeed | number | 0 | Turn speed |
Objekt ansehen
Id look_at_target · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
target | entity | null | Look at |
turnSpeed | number | 0 | Turn speed |
lockY | boolean | true | Keep upright |
Messenger öffnen
Id messenger_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
platform | select | — | facebook, vk, instagram, whatsapp, telegram, viber, ok |
value | string | — | Value |
Telefonnummer anrufen
Id phone_call_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
phone | string | — | Phone |
Zeiger sperren
Id request_pointer_lock · kategorie action
Keine Einstellungen.
Szenenübergang
Id scene_transit_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
sceneId | scene | — | Scene |
Objekt ein-/ausblenden
Id set_visibility · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
visible | boolean | true | Visible |
Raumübergang
Id space_transit_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
spaceId | space | — | Space |
sceneId | scene | null | Scene |
Folgen beenden
Id stop_follow · kategorie action
Keine Einstellungen.
URL öffnen
Id url_transit_action · kategorie action
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
url | string | — | URL |
transitionType | select | "new_tab" | new_tab, same_tab |
Entlang des Pfads fliegen
Id follow_path · kategorie animation
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
path | entity | null | Path |
duration | number | 3 | Duration |
loop | select | "once" | once, loop, ping_pong |
orient | boolean | true | Face along path |
reverse | boolean | false | Reverse |
Eingebaute Animation
Id launch_built_in_animation · kategorie animation · veraltet (läuft weiter, lässt sich aber nicht mehr hinzufügen)
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
builtInAnimation | string | — | Animation |
startFrame | number | 0 | |
delay | number | 0 | |
repeatCount | number | 1 |
Material
Id material_animation · kategorie animation · veraltet (läuft weiter, lässt sich aber nicht mehr hinzufügen)
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
materialId | resource | — | Material |
duration | number | 1 | |
delay | number | 0 | |
repeatCount | number | 1 |
Deckkraft
Id opacity_animation · kategorie animation · veraltet (läuft weiter, lässt sich aber nicht mehr hinzufügen)
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
opacity | number | 100 | |
duration | number | 1 | |
delay | number | 0 | |
repeatCount | number | 1 |
Animation abspielen
Id play_animation · kategorie animation
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
animator | entity | null | |
presetId | string | "" | |
loopType | select | "once" | once, count, forever |
repeatCount | number | 1 | |
speed | number | 1 | |
delay | number | 0 |
Knochen-Transformation
Id skeletal_transform · kategorie animation · veraltet (läuft weiter, lässt sich aber nicht mehr hinzufügen)
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
positionX | number | 0 | |
positionY | number | 0 | |
positionZ | number | 0 | |
quatX | number | 0 | |
quatY | number | 0 | |
quatZ | number | 0 | |
quatW | number | 1 | |
scaleX | number | 1 | |
scaleY | number | 1 | |
scaleZ | number | 1 | |
duration | number | 1 | |
delay | number | 0 | |
loopType | select | "count" | once, count, forever |
repeatCount | number | 1 |
Animation stoppen
Id stop_animation · kategorie animation
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
animator | entity | null | |
presetId | string | "" |
Pfadflug beenden
Id stop_follow_path · kategorie animation
Keine Einstellungen.
Transformation
Id transformation_animation · kategorie animation · veraltet (läuft weiter, lässt sich aber nicht mehr hinzufügen)
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
rotationEnabled | boolean | true | |
rotationX | number | 0 | |
rotationY | number | 0 | |
rotationZ | number | 0 | |
positionEnabled | boolean | true | |
positionX | number | 0 | |
positionY | number | 0 | |
positionZ | number | 0 | |
scaleEnabled | boolean | true | |
scaleX | number | 1 | |
scaleY | number | 1 | |
scaleZ | number | 1 | |
duration | number | 1 | |
delay | number | 0 | |
loopType | select | "count" | once, count, forever |
repeatCount | number | 1 |
Signal senden
Id emit_signal · kategorie logic
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
signal | string | "" | Signal |
scope | select | "targets" | targets, broadcast |
Wenn — sonst
Id if_action · kategorie logic
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
source | select | "always" | always, variable, distance, state, visible, random |
variable | string | "" | Variable |
target | entity | null | Object |
op | select | "==" | ==, !=, >, >=, <, <= |
value | string | "" | Value |
threshold | number | 1 | Threshold |
stateId | state | null | State |
flag | boolean | true | Expected |
Variable setzen
Id set_variable · kategorie logic
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
variable | string | "" | Variable |
mode | select | "set" | set, add, toggle |
value | string | "" | Value |
Warten, dann
Id wait_action · kategorie logic
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
seconds | number | 1 | Delay |
Eigenschaften überschreiben
Id override_state · kategorie state
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
patch | record | {} | |
durationMs | number | 0 | |
easing | select | "ease-in-out" | linear, ease-in, ease-out, ease-in-out |
Zustand setzen
Id set_state · kategorie state
| Einstellung | Typ | Standardwert | Optionen oder Beschriftung |
|---|---|---|---|
stateId | state | — | State |
durationMs | number | 0 | |
easing | select | "ease-in-out" | linear, ease-in, ease-out, ease-in-out |