Ress 21 Posted July 20, 2018 So {{py:vinfo.name}}, {{py:vinfo.gun_reload}} and {{py:vinfo.vision_radius}} macros works just fine, but i have issue displaying it on enemy targets only. (not on allies, or own stats if i have no target). Tried using "alpha": "{{ally?#00|#FF}}", but that didn't work. Since i am blind is there a way to show on enemy targets only?battleLabelsTest.xc Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #436823 Posted July 20, 2018 Попробуйте добавить: "flags": ["enemy"] Quote Share this post Link to post Short link Share on other sites
Ress 21 #436826 Posted July 20, 2018 2 hours ago, ktulho said: Попробуйте добавить: "flags": ["enemy"] Good idea, sadly doesn't show at all. Even tried with "flags": [ "enemy" , "spotted" , "alive" ] and "updateEvent": "PY(ON_MARKER_POSITION), ON_EVERY_FRAME, ON_EVERY_SECOND", just in case, still dead end. Then i tried messing with each vinfo.py macros using {{player}} and {{ally}} for example: {{py:vinfo.name?{{ally?|py:vinfo.name}}}} ..also dead end. Guess i gonna have to use extra .py after all. (since vinfo.py appears to be limited) Anyway, thanks for help. Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #436841 Posted July 21, 2018 @Ress попробуйте battleLabelsTest.xc 2 Quote Share this post Link to post Short link Share on other sites
Ress 21 #436850 Posted July 21, 2018 @ktulho Now it works. I guess UpdateEvent was issue. Thanks! Quote Share this post Link to post Short link Share on other sites