scyorkie 50 Posted October 11, 2016 I know that alpha value can be made dependent on variables such as whether the player is alive: "alpha": "{{alive?100|0}}" However, can it be made dependent on tank class? What I want to achieve is to have the xvm-user png show up on playersPanel for SPG players only. Quote Share this post Link to post Short link Share on other sites
cokebottle 15 #358517 Posted October 11, 2016 (edited) Yes it is. Unfortunately I don't remember exactly the format. According to macros.txt, I think it's something like "vtype=SPG?" or "vtype-key=SPG?". Edit: It's {{vtype-key=SPG?100|0}} Edited October 11, 2016 by cokebottle 1 Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #358539 Posted October 11, 2016 (edited) Awesome, thanks! I was playing around with that, and gave up after trying trying a few permutations of {{vtype-SPG?100|0}}. Now using this: {{vtype-key=SPG?{{alive?{{spotted?0|100}}|0}}|0}} The png disappears if the SPG is spotted or killed. Edited October 11, 2016 by scyorkie Quote Share this post Link to post Short link Share on other sites