HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

AI help

11-27-2008, 03:42 AM#1
askori
I haven't been on Wc3c in quite some time so I'm not sure if this is the right board, so move it if necessary.

I've been working on a map for a while now, and its been for the most part smooth without problems. I would like to incorporate AI into the map, but I really don't know what to do. I have read tutorials on this site and others on the AI editor in the WE, but I am still having some issues. Designed a basic AI to test and see if it would work. I imported the saved AI into the map and set up the trigger to load the AI at initialization, but it still does not work. I've tried some different triggers and such to load it, different AI's in the editor and such, but I still cannot get it to work. If you can help me out with this, I'll greatly appreciate it. Thanks!

As a side note if I can't get it to work myself i will probably go to the recruitment board.
11-27-2008, 04:30 PM#2
tamisrah
Since you're probably making a custom map (not a melee map) the AI created by the AI editor won't do a thing imho.
So you'd have to trigger the AI more or less completely but for certain things there are already systems/scripts/demos here on wc3c.
11-28-2008, 01:10 AM#3
askori
Alright thanks. Ill look around for them. I take it in the resource section?
11-28-2008, 10:40 AM#4
Monstah
Wc3jass.com also has a section named "the vault" with some good code, check this out for example:

http://www.wc3jass.com/viewtopic.php?t=100

Finds the closest unit from group in line of sight of a specified unit. Great for some uses, and ready-made.

By the way... there's no problem with referencing other boards, is there? I have seen people posting links to here on Wc3jass, so I assume it's ok for me to link to them :P

Oh, and a side note. Been some time since I don't hang round message boards, but judging by what I've seen, this seems like the largest concentration of proper-grammar-using people I've ever witnessed on the internet. And it's a PROGRAMMING BOARD! Amazing (and much appreciated).
11-28-2008, 01:03 PM#5
tamisrah
Other nice examples are:
Guard AI
Arena AI Tutorial
Autocast System
AI Executer