Spiegator 0 Posted May 5, 2019 Hi all, I had this macro to visualize the actual HP in the players panel, it's then recalled in the appropriate panel. "hp": {"x": 142, "y": 4, "bindToIcon": true, "align": "center", "alpha": "{{alive?100|0}}", "format": "<font face='$FieldFont' size='11' color='#D9D9D9' alpha='{{alive?{{ready?#FF|#80}}|#80}}'><b>{{alive?{{hp|{{l10n:No data}}}}|{{l10n:Destroyed}}}}</b></font>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 1, "distance": 0, "angle": 0 } } The issue is that now it's not working anymore and I've no idea why. Can anyone help me with it? Thanks Quote Share this post Link to post Short link Share on other sites
Andyss 16 #458207 Posted May 6, 2019 I have like this, activated with alt and its working // Remaining HP. "hp": { "hotKeyCode": 56, "onHold": "true", "visibleOnHotKey": true, "bindToIcon": true, "alpha": "{{alive?100|0}}", "x": 96, "width": 72, "y": 4, "textFormat": { "font": "$FieldFont", "size": 11, "color": "0xD9D9D9", "bold": "true", "align": "center" }, "format": "<font alpha='{{alive?{{ready?#FF|#80}}|#80}}'>{{alive?{{hp|{{l10n:No data}}}}|{{l10n:Destroyed}}}}</font>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 1, "distance": 0, "angle": 0 } } }, Quote Share this post Link to post Short link Share on other sites
Spiegator 0 #458299 Posted May 7, 2019 (edited) Thanks, I'll try immediately. Edit: Done, it works perfectly now. "hp": { "alpha": "{{alive?100|0}}", "x": 285, "y": 4, "textFormat": { "font": "$FieldFont", "size": 11, "color": "0xD9D9D9", "bold": "true", "align": "center" }, "format": "<font alpha='{{alive?{{ready?#FF|#80}}|#80}}'>{{alive?{{hp|{{l10n:Ukn}}}}|{{l10n:KIA}}}}</font>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 100, "blur": 4, "strength": 1, "distance": 0, "angle": 0 } } Edited May 7, 2019 by Spiegator Quote Share this post Link to post Short link Share on other sites