trigger.gbsres 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "_resourceType": "triggerPrefab",
  3. "id": "202f26e3-b22d-4ef0-bc9c-c9f4cd15a698",
  4. "name": "",
  5. "script": [
  6. {
  7. "command": "EVENT_IF",
  8. "args": {
  9. "condition": {
  10. "type": "variable",
  11. "value": "0"
  12. },
  13. "__collapseElse": true
  14. },
  15. "children": {
  16. "true": [
  17. {
  18. "command": "EVENT_ACTOR_MOVE_TO",
  19. "args": {
  20. "actorId": "$self$",
  21. "x": {
  22. "type": "number",
  23. "value": 5
  24. },
  25. "y": {
  26. "type": "number",
  27. "value": 0
  28. },
  29. "moveType": "horizontal",
  30. "useCollisions": false
  31. },
  32. "id": "083e3ed9-8ad7-4eb6-908d-491b886b3758"
  33. }
  34. ],
  35. "false": []
  36. },
  37. "id": "873eda71-1d93-4ca9-9323-1411d8e94280"
  38. }
  39. ],
  40. "leaveScript": []
  41. }