HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Warcraft3 Ai -Adding your custom unit to an *.ai script

09-22-2002, 01:53 PM#1
Aiursrage2k
First step is to create your unit/building in the map, and then you must find the units 4 alphanumeric codes, which I will call x4. Next open the ai file, and under globals add constant integer variable name (whatever you want) = 'x4', now you can call this unit as you could RIFLEMAN and such.

Note: if its a:
Structure, the map must contain a unit with the x4 code you are using.

A Unit your map must contain the structure that your custom unit is built out of, and the unit with the x4 code.