Newer
Older
System38 / project / scenes / e03-03-patio_2 / triggers / trigger.gbsres
{
  "_resourceType": "trigger",
  "id": "18bb538e-8e03-4571-8532-0b0d26ed1b48",
  "_index": 0,
  "symbol": "trigger_9",
  "prefabId": "",
  "name": "",
  "x": 0,
  "y": 26,
  "width": 4,
  "height": 1,
  "prefabScriptOverrides": {},
  "script": [
    {
      "id": "1f998231-d490-4b6b-b514-34d2434610d7",
      "command": "EVENT_IF",
      "args": {
        "variable": "L0",
        "__collapseElse": false,
        "condition": {
          "type": "eq",
          "valueA": {
            "type": "variable",
            "value": "L0"
          },
          "valueB": {
            "type": "false"
          }
        }
      },
      "children": {
        "true": [
          {
            "id": "ea974cc2-c8ef-433d-8615-ae766cf28e5a",
            "command": "EVENT_SET_VALUE",
            "args": {
              "variable": "L0",
              "value": {
                "type": "true"
              }
            }
          },
          {
            "id": "01c2440c-bd1c-436b-bca7-e01b7239160c",
            "command": "EVENT_ACTOR_SET_FRAME",
            "args": {
              "actorId": "3c6d45ae-b332-4adf-972c-64d713a17330",
              "frame": {
                "type": "number",
                "value": 1
              }
            }
          },
          {
            "id": "a45c15d8-df58-4d52-87e2-ecdee0a92043",
            "command": "EVENT_ACTOR_MOVE_TO",
            "args": {
              "actorId": "3c6d45ae-b332-4adf-972c-64d713a17330",
              "x": {
                "type": "number",
                "value": 1
              },
              "y": {
                "type": "number",
                "value": 32
              },
              "moveType": "horizontal",
              "useCollisions": false
            }
          },
          {
            "id": "f8fbbf5f-15f9-4123-b65d-cc5f1a483047",
            "command": "EVENT_ACTOR_DEACTIVATE",
            "args": {
              "actorId": "3c6d45ae-b332-4adf-972c-64d713a17330"
            }
          }
        ],
        "false": []
      }
    }
  ],
  "leaveScript": []
}