ST Boss Music - ironmonk88/monks-module-wiki GitHub Wiki

Boss Music

Place this tile over the entrance to your boss fight; upon being triggered by entering, the variable will be added, and once combat is initiated (which should be with the boss at this point), it will trigger again and now be able to continue and start your selected track.

Setup Required

Setup Tab

  • When: Enter & Combat Start

Actions

Click here to view Tile Template JSON Data

Copy & paste this into Notepad and save it as a .JSON file. Then import it using MATT's Tile Templates.

{
  "width": 100,
  "height": 100,
  "z": 7,
  "rotation": 0,
  "alpha": 1,
  "hidden": true,
  "locked": false,
  "overhead": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "flags": {
    "tagger": {
      "tags": [
        "Reset On"
      ]
    },
    "betterroofs": {
      "brMode": 0,
      "manualPoly": "",
      "occlusionLinkId": "",
      "occlusionLinkSource": false
    },
    "perfect-vision": {
      "lighting": ""
    },
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "enter",
        "combatstart"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "actions": [
        {
          "action": "anchor",
          "data": {
            "tag": "_enter",
            "stop": false
          },
          "id": "78yMrdeSesUKGtev"
        },
        {
          "action": "attribute",
          "data": {
            "entity": {
              "id": "tile",
              "name": "This Tile"
            },
            "collection": "tokens",
            "attribute": "flags.monks-active-tiles.variables.RipAndTear",
            "value": "= 0"
          },
          "id": "2f5qAe2Zgj1fMMIp"
        },
        {
          "action": "exists",
          "data": {
            "entity": {
              "id": "previous",
              "name": "Current tokens"
            },
            "collection": "tiles",
            "count": "> 0",
            "none": ""
          },
          "id": "4JesT5SySa7TYhtz"
        },
        {
          "action": "setvariable",
          "data": {
            "entity": "",
            "name": "RipAndTear",
            "value": "1"
          },
          "id": "HXpgjnyzD9MzT2T6"
        },
        {
          "action": "anchor",
          "data": {
            "tag": "_combatstart",
            "stop": true
          },
          "id": "Np5fwn0Kqtig1hZq"
        },
        {
          "action": "attribute",
          "data": {
            "entity": {
              "id": "tile",
              "name": "This Tile"
            },
            "collection": "tokens",
            "attribute": "flags.monks-active-tiles.variables.RipAndTear",
            "value": "= 1"
          },
          "id": "MTcpP96GMALITJyd"
        },
        {
          "action": "exists",
          "data": {
            "entity": {
              "id": "previous",
              "name": "Current tokens"
            },
            "collection": "tiles",
            "count": "> 0",
            "none": ""
          },
          "id": "FQ1r0jVFDUUqQkiv"
        },
        {
          "action": "playlist",
          "data": {
            "entity": {
              "id": "Playlist.wQ8be1TZNBpIamNz",
              "name": "Combat - Brutal"
            },
            "play": "play",
            "volume": 1,
            "loop": true
          },
          "id": "SEvk5zFsn3UlqDLF"
        },
        {
          "action": "setvariable",
          "data": {
            "entity": "",
            "name": "RipAndTear",
            "value": "0"
          },
          "id": "RhJA3yW8ee2v7wCb"
        },
        {
          "action": "activate",
          "data": {
            "entity": "",
            "activate": "deactivate"
          },
          "id": "OzcIxhR0vK0slOLD"
        }
      ],
      "fileindex": 0,
      "files": [],
      "variables": {
        "RipAndTear": "1"
      }
    },
    "tile-scroll": {
      "enableScroll": false,
      "scrollDirection": 0,
      "enableRotate": false,
      "scrollSpeed": 1,
      "repeat": 1,
      "pivotx": 0.5,
      "pivoty": 0.5,
      "offsetx": 0,
      "offsety": 0
    },
    "exportSource": {
      "world": "module-assembly",
      "system": "pf2e",
      "coreVersion": "10.291",
      "systemVersion": "4.12.0"
    }
  },
  "texture": {
    "src": null,
    "tint": null,
    "scaleX": 1,
    "scaleY": 1,
    "offsetX": 0,
    "offsetY": 0,
    "rotation": 0
  },
  "roof": false,
  "id": "wS0q4XkdddQKvYC6",
  "name": "Boss_Music",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 11.11

⚠️ **GitHub.com Fallback** ⚠️