Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[AI] Night Elf melee AI malfunction

Discussion in 'Triggers & Scripts' started by Fury, Nov 18, 2004.

  1. Fury

    Fury

    Joined:
    Sep 4, 2004
    Messages:
    30
    Resources:
    0
    Resources:
    0
    I am currently optimizing my NE melee ai, and i experienced some strange building behavior. The -1 townid parameter which should cause the ai to build a buidling in any town (reasonably quite balanced building numbers between towns), causes it to build them all in its main town. My undead AI uses this parameter correctly and because they use the same building thread in common.ai (original blizz) which uses the same native function to build a building, theoretically they should have the same buidling location choosing algorithm.

    Anyone else experienced such behavior or i just missed something.
    If yes is there any way to solve the problem without writing a custom buidling location choosing algorithm.
    Could this happen only because of the RACE settings?
    If yes any way to modify it?
    What's racepreference? (common.j)