• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Town Hall not counting issue.

Status
Not open for further replies.
Level 17
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