• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] AI Script won't run

Status
Not open for further replies.
I've modified human.ai and imported it. Trying to run it with StartMeleeAI, but it's not working.
I've added a BJDebugMsg in the main function which isn't being shown.

Any idea what might be going wrong? Running the latest patch (1.31)

Edit: doesn't work when I enable fixed player settings etc either.
 
Last edited:
I tried copying it into the WE, and it validated without errors (except function main previously defined).
Although I had to copy common.ai as well, so it seems to me like common.ai isn't being loaded somehow?

Edit: apparently BJDebugMsg isn't valid in AI scripts xD figured it out thanks to that syntax checker, thanks
 
Last edited:
Status
Not open for further replies.
Top