Newer
Older
System38 / project / scenes / e04-03-desm2 / actors / actor.gbsres
{
  "_resourceType": "actor",
  "id": "ccb0422f-a788-48c5-9684-8c2b964eb926",
  "_index": 0,
  "symbol": "actor_28",
  "prefabId": "",
  "name": "",
  "x": 11,
  "y": 5,
  "frame": 0,
  "animate": false,
  "spriteSheetId": "94d68f39-5181-49db-bfb3-51525f7965c3",
  "paletteId": "",
  "direction": "down",
  "moveSpeed": 1,
  "animSpeed": 15,
  "isPinned": false,
  "persistent": false,
  "collisionGroup": "",
  "prefabScriptOverrides": {},
  "script": [
    {
      "command": "EVENT_SOUND_PLAY_EFFECT",
      "args": {
        "type": "crash",
        "priority": "medium",
        "pitch": 4,
        "frequency": 200,
        "duration": 0.2,
        "wait": true,
        "effect": 0
      },
      "id": "0bfd9d05-ea83-435a-ae1c-bf6fe7b5d4d7"
    },
    {
      "command": "EVENT_DEC_VALUE",
      "args": {
        "variable": "T0",
        "__collapse": true
      },
      "id": "36d895f4-0650-42f5-81ba-6533f500761b"
    },
    {
      "command": "EVENT_IF",
      "args": {
        "variable": "T0",
        "operator": "==",
        "comparator": "0",
        "__collapseElse": true,
        "__collapse": false,
        "condition": {
          "type": "eq",
          "valueA": {
            "type": "variable",
            "value": "T0"
          },
          "valueB": {
            "type": "number",
            "value": 0
          }
        }
      },
      "children": {
        "true": [
          {
            "command": "EVENT_SWITCH_SCENE",
            "args": {
              "sceneId": "278658f1-dff0-4595-8ca9-c86414302808",
              "x": {
                "type": "number",
                "value": 9
              },
              "y": {
                "type": "number",
                "value": 11
              },
              "direction": "",
              "fadeSpeed": "2"
            },
            "id": "d90042da-666c-47bd-ab56-6791d8ae677f"
          }
        ],
        "false": []
      },
      "id": "b87248b4-4444-4683-940f-ef46da15e802"
    },
    {
      "command": "EVENT_ACTOR_HIDE",
      "args": {
        "actorId": "$self$"
      },
      "id": "ed959e34-e126-4aa4-83cc-3b85b7b14391"
    },
    {
      "command": "EVENT_ACTOR_COLLISIONS_DISABLE",
      "args": {
        "actorId": "$self$"
      },
      "id": "3bfed0e7-2c7c-442e-883b-5d10e7f973da"
    }
  ],
  "startScript": [],
  "updateScript": [],
  "hit1Script": [],
  "hit2Script": [],
  "hit3Script": []
}