Jasscraft: Creating Campaign A.I. attack waves, buildings with custom units

Status
Not open for further replies.
Level 3
Joined
Mar 23, 2015
Messages
32
I just read through the Jasscraft Campaign A.I. Tutorial and I would like to know how put the custom units' raw code into the Jass Script.

I have problems putting in upgrades as well. Help?
 
Level 20
Joined
Jul 14, 2011
Messages
877
Go to object editor and press Ctrl + D. That will show you the rawcodes of the object.
In Jass, you put it in single quotes, for example 'hpea', for the peasent.

For custom units, you need to use the first 4 characters. The other 4 are the rawcode of the base object.

Also, what is your problem with upgrades?
 
Level 3
Joined
Mar 23, 2015
Messages
32
call SetBuildUpgrEx( 0, 1, 2, UPG_DRUID_CLAW ) I don't know how to put other upgrades into this. I am trying to put Human and Orc upgrades both Original and Custom
 
Status
Not open for further replies.
Top