How to automatically find nearby crafts and make their name a vizzy variable by changing the XML.

Tags
Question

3 Comments

  • Log in to leave a comment
  • Profile image
    Mod sflanker

    If you have a list of craft names you can loop through the list, set them as target, and check the distance to target in order to get a list of nearby craft. You could add new craft to that list whenever the player manually sets the target to something new. There is no way to automatically detect new craft that you don't know the name of.


    I'm not sure why you would need to muck with the XML unless you are trying to modify a running program in an active craft, which I suppose would be doable if you prefer stopping the game and modifying XML as a way to add new craft to your list.

    4.2 years ago
  • Profile image
    10.2k Sibonitro

    @AnotherFireFox could you help me?

    4.2 years ago
  • Profile image
    10.2k Sibonitro

    4.2 years ago

No Upvotes

Log in in to upvote this post.