Jump to content
Korean Random

Как получить координаты танков игроков в бою?


Recommended Posts

 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

 

  • Upvote 1
Link to comment
Short link
Share on other sites

Можно еще вопрос. Как нарисовать допустим, шар по координатам?

И еще, как выполнять действие если я нахожусь только в бою. Мне надо получить координаты союзников, когда я захожу в бой.

Edited by Van Dark
Link to comment
Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...