• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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?
 
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?
 
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.
Back
Top