• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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