ST Tooltip Drawing - ironmonk88/monks-module-wiki GitHub Wiki
Shows the selected entity when a cursor is within the tile, then hides it when no cursor is present.
- When
Hover In
&Hover Out
-
Alter
- Attribute:
hidden
- Value:
= ("{{method}}" !== "hoverin")
- Value:
- Attribute:
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
},
"x": 3000,
"y": 3000,
"z": 100,
"width": 100,
"height": 100,
"rotation": 0,
"alpha": 1,
"flags": {
"tagger": {},
"betterroofs": {
"brMode": false,
"occlusionLinkId": "",
"occlusionLinkSource": false
},
"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": "alter",
"data": {
"entity": {
"id": "tagger:Tooltip_Entity",
"match": "all",
"scene": "_active",
"name": "<i class=\"fas fa-tag fa-sm\"></i> Tooltip_Entity"
},
"attribute": "hidden",
"value": "= (\"{{method}}\" !== \"hoverin\")",
"chatMessage": false,
"rollmode": "roll"
},
"id": "NAj5pvnZZErvCfjw"
}
],
"files": []
},
"multiface-tiles": {
"originalImage": "D20.webp"
},
"exportSource": {
"world": "matt-test",
"system": "dnd5e",
"coreVersion": "10.291",
"systemVersion": "2.1.3"
}
},
"overhead": false,
"roof": false,
"occlusion": {
"mode": 1,
"alpha": 0,
"radius": null
},
"video": {
"loop": true,
"autoplay": true,
"volume": 0
},
"hidden": true,
"locked": false,
"id": "bd4OWDoaBiRdtYUW",
"name": "Tooltip on Hover",
"visible": true,
"img": null,
"thumbnail": "modules/monks-active-tiles/img/cube.svg"
}
MATT 11.06