HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

viewing the TFT campaign AI's with WE?

07-15-2003, 05:42 PM#1
Sorbitol
is it possible to view any of the AI scripts for TFT using the new WE AI Editor?

i've been trying to make a very basic Computer player melee AI with the AI editor, but I havent had much luck.

A TFTWE AI Editor tutorial would be nice
:ggani:
07-15-2003, 06:47 PM#2
Vidstige
Since everything that is made with the AI Editor sooner or later
are exported to script files (.ai files in the Jass language) and
these files are not possible to view in the AI Editor I guess that it
ain't possible to view the AI for any normal campaign. If you can't
get in hold of the original file that is in the AI Editor's internal
format (.wai), if there ever was one.
07-15-2003, 06:54 PM#3
Sorbitol
ok i think i understand what you mean about the .ai vs .wai format...

Some other AI questions - mostly coming from my lack of programming experience...

What does this mean :

AI - Send Player (X) the AI Command (0, 0)

I found it at the under the Intialization trigger of the campaigns...

Also, and more to the point...

Once I've made custom AI files with the AI editor and imported to my map, how do i actually get the computer player of choice to implement the AI? I've put in the Start Melee AI script action in the initialization trigger, but I dont know what else I need to do.

thanks!
07-15-2003, 08:46 PM#4
AIAndy
With Send AI command you can send information to the AI which is put on a stack and can then be retrieved by the AI.
The Start Melee AI action with the right script name is all that is needed to start the AI.