• 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.

[JASS] Town Hall not counting issue.

Status
Not open for further replies.
Level 18
Joined
Sep 2, 2005
Messages
1,029
I'm not sure if this couns as a jass issue or general WE.

I made a custom unit based on a town hall, for a custom race. At the beginning of the match, if I use melee victory conditions, then it says I'll be revealed if I don't build a town hall.

Do I need to make a custom victory conditions script to use my custom town hall or is it something I can fix in the WE and use the default victory conditions?
 
Level 3
Joined
Dec 22, 2007
Messages
35
You have two options:

If you are just trying to use the normal triggers/scripts of a melee game, you can edit the original townhall instead of making a new one based off of it. However, in my experience editing original units can have some unstable/unpredictable side-effects depending on how much editing you want to do.

Your other option is to mimic the meleetriggers/scripts with your own.

Both are easy.
 
Status
Not open for further replies.
Top