Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Reversing the AI Drone

Discussion in 'Programming Questions and Suggestions' started by SilverXArrow, Nov 26, 2015.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. SilverXArrow Trainee Engineer

    Messages:
    1
    Is there any way to reverse the code that the hostile drones use to hunt down players and instead make them return the favor?

    The Code I found on the drones:
     
  2. Sinbad Senior Engineer

    Messages:
    2,788
    remote.GetNearestPlayer is only acessible if the programing block belongs to the pirate faction. And it only returns the nearest player, it won't work on 'npc' pirates.
     
  3. Dawnkeeper Apprentice Engineer

    Messages:
    260
    You could set a GPS marker to the enemy base and sent them that way.
     
  4. Sinbad Senior Engineer

    Messages:
    2,788
    all the script does is point the drone at the gps marker. They won't chase other drones if you do it that way.
     
  5. Dawnkeeper Apprentice Engineer

    Messages:
    260
    Yes, AFAIK it is not possible to track anything but the closest player. But adding a turret to the drone and sending it back to base will at least do some damage to the pirates.
     
    • Agree Agree x 1
Thread Status:
This last post in this thread was made more than 31 days old.