ST Tooltip Dialog - ironmonk88/monks-module-wiki GitHub Wiki

Tooltip on Hover

Shows a dialog for the triggering user while their mouse cursor is within the tile.

Setup Required

Setup Tab

  • When Hover In & Hover Out

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.

{
  "texture": {
    "src": null,
    "scaleX": 1,
    "scaleY": 1,
    "tint": null,
    "offsetX": 0,
    "offsetY": 0,
    "rotation": 0
  },
  "z": 100,
  "width": 100,
  "height": 100,
  "rotation": 0,
  "alpha": 1,
  "flags": {
    "tagger": {
      "tags": ""
    },
    "monks-active-tiles": {
      "active": true,
      "record": false,
      "restriction": "all",
      "controlled": "all",
      "trigger": [
        "",
        "hoverin",
        "hoverout"
      ],
      "allowpaused": false,
      "usealpha": false,
      "pointer": false,
      "pertoken": false,
      "minrequired": 0,
      "chance": 100,
      "fileindex": 0,
      "actions": [
        {
          "action": "anchor",
          "data": {
            "tag": "_hoverin",
            "stop": true
          },
          "id": "KoOOwo9GXTNRenBi"
        },
        {
          "action": "dialog",
          "data": {
            "dialogtype": "alert",
            "id": "Dialog",
            "title": "",
            "closeNo": true,
            "content": "Text",
            "file": "",
            "options": "",
            "width": "",
            "height": "",
            "yes": "",
            "no": "",
            "buttons": [],
            "showto": "trigger"
          },
          "id": "4VLjDvwRNIquIbre",
          "buttons": []
        },
        {
          "action": "anchor",
          "data": {
            "tag": "_hoverout",
            "stop": true
          },
          "id": "H0ofRLycRegsxFhy"
        },
        {
          "action": "closedialog",
          "data": {
            "id": "Dialog",
            "for": "trigger",
            "trigger": "none"
          },
          "id": "SFA6AvalQL5NWxYN"
        }
      ],
      "files": [],
      "vision": false,
      "cooldown": null
    },
    "perceptive": {
      "TilePerceptiveNameFlag": "Tile",
      "canbeSpottedFlag": false,
      "PPDCFlag": -1,
      "APDCFlag": null,
      "SpottingRangeFlag": -1,
      "MATTTriggerConditionsFlag": {
        "NewlySpotted": "never"
      }
    },
    "Rideable": {
      "issetRideableFlag": false,
      "TileRideableNameFlag": "Tile",
      "MaxRiderFlag": null,
      "CustomRidingheightFlag": null,
      "UseRidingHeightFlag": true,
      "RiderPositioningFlag": "RowPlacement",
      "TokenFormFlag": "TokenFormRectangle",
      "InsideMovementFlag": false,
      "SpawnRidersFlag": "",
      "MountingEffectsFlag": "",
      "WorldMEffectOverrideFlag": false,
      "CanbePilotedFlag": false
    },
    "exportSource": {
      "world": "module-assembly",
      "system": "pf2e",
      "coreVersion": "11.315",
      "systemVersion": "5.9.1"
    }
  },
  "overhead": false,
  "roof": false,
  "occlusion": {
    "mode": 1,
    "alpha": 0,
    "radius": null
  },
  "video": {
    "loop": true,
    "autoplay": true,
    "volume": 0
  },
  "hidden": false,
  "locked": false,
  "id": "TQfoyIdVZ0ZRIIRL",
  "name": "Tooltip_Dialog",
  "visible": true,
  "img": null,
  "thumbnail": "modules/monks-active-tiles/img/cube.svg"
}

Page Last Updated

MATT 11.16

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