- Joined
- Oct 28, 2012
- Messages
- 228
Hey, so I am trying to get my campaign AI working via JASS and I am stuck at one thing - I understand the code and what it does, but I don't know how to get the unit's names.
F.e.
call SetBuildUnit ( 1, DRUID_CLAW )
It is DRUID_CLAW instead of DRUID_OF_THE_CLAW obviously and I figured out these names are stored in "common.ai" file.
How can I get this script working with my brand new unit? I want to have AI controlling a completely new race.
And one more thing, why there is
call CampaignAI(CHAOS_BURROW,null)
call CampaignAI(MOON_WELL,null)
call CampaignAI(ZIGGURAT_1,null)
How can I know what name to use when I have my own food-producing building with my own name in the new race?
Thanks in advance for your time!
F.e.
call SetBuildUnit ( 1, DRUID_CLAW )
It is DRUID_CLAW instead of DRUID_OF_THE_CLAW obviously and I figured out these names are stored in "common.ai" file.
How can I get this script working with my brand new unit? I want to have AI controlling a completely new race.
And one more thing, why there is
call CampaignAI(CHAOS_BURROW,null)
call CampaignAI(MOON_WELL,null)
call CampaignAI(ZIGGURAT_1,null)
How can I know what name to use when I have my own food-producing building with my own name in the new race?
Thanks in advance for your time!