Van Dark Posted June 12, 2022 Share Posted June 12, 2022 Пишу скрипт для получения позиции других игроков? Как это реализовать? @ Quote Link to comment Short link Share on other sites More sharing options...
baka01998 Posted June 13, 2022 Share Posted June 13, 2022 for vehicle in BigWorld.player().vehicles: if vehicle is not None and vehicle.isAlive(): vehicle.position если из миникарты хочешь взять то смотри в from gui.Scaleform.daapi.view.battle.shared.minimap.component import MinimapComponent minimapComponent.getPlugin('vehicles')._entries 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Van Dark Posted June 14, 2022 Author Share Posted June 14, 2022 (edited) Можно еще вопрос. Как нарисовать допустим, шар по координатам? И еще, как выполнять действие если я нахожусь только в бою. Мне надо получить координаты союзников, когда я захожу в бой. Edited June 14, 2022 by Van Dark @ Quote Link to comment Short link Share on other sites More sharing options...
baka01998 Posted June 15, 2022 Share Posted June 15, 2022 Посмотри мод https://github.com/spoter/spoter-mods/blob/master/mod_artySplash/source/mod_artySplash.py там отрисовывается сфера в бою на месте куда пушка целится союзники это vehicle.publicInfo['team'] == BigWorld.player().team @ 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.