Ress Posted July 20, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 20, 2018 Share Posted July 20, 2018 Попробуйте добавить: "flags": ["enemy"] @ Quote Link to comment Short link Share on other sites More sharing options...
Ress Posted July 20, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
ktulho Posted July 21, 2018 Share Posted July 21, 2018 @Ress попробуйте battleLabelsTest.xc 2 @ Quote Link to comment Short link Share on other sites More sharing options...
Ress Posted July 21, 2018 Author Share Posted July 21, 2018 @ktulho Now it works. I guess UpdateEvent was issue. Thanks! @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.