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

Dependency Equivalent?

Status
Not open for further replies.
Level 30
Joined
Nov 29, 2012
Messages
6,637
This field was originally the main method for getting custom heroes to count in the default "3 heroes per player" limit in melee-style games. This functionality has now been deprecated with the presence of the Gameplay Constants field "Techtree - Dependency Equivalents - Hero". The current method for achieving the objective of this field is as follows:

  • Use the trigger action "Player - Limit Training of Unit-Type", and limit training of the custom hero in question to 1 (for melee-style maps, but you can make the number higher if you are trying to do something else). Put the action in a trigger that has the event "Map Initialization".
  • Add the custom hero to the Gameplay Constants field "Techtree - Dependency Equivalents - Hero".
  • The custom hero will now contribute towards the "3 heroes per player" limit.

Source: http://world-editor-tutorials.thehelper.net/uniteditor.php
 
Level 6
Joined
May 13, 2013
Messages
111
This field was originally the main method for getting custom heroes to count in the default "3 heroes per player" limit in melee-style games. This functionality has now been deprecated with the presence of the Gameplay Constants field "Techtree - Dependency Equivalents - Hero". The current method for achieving the objective of this field is as follows:

  • Use the trigger action "Player - Limit Training of Unit-Type", and limit training of the custom hero in question to 1 (for melee-style maps, but you can make the number higher if you are trying to do something else). Put the action in a trigger that has the event "Map Initialization".
  • Add the custom hero to the Gameplay Constants field "Techtree - Dependency Equivalents - Hero".
  • The custom hero will now contribute towards the "3 heroes per player" limit.

Source: http://world-editor-tutorials.thehelper.net/uniteditor.php

Ok... Does this work on units or structures?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
It is so that a unit type can be counted as another unit type. This is necessary for units with upgrades since the upgraded form would otherwise disable everything that required the previous form.

Best example would be the Village Hall, Town Hall and Castle since many things need a Village Hall or Town Hall and not a Castle yet you can still build them with a Castle. This is because the Castle has Dependency Equivalent of a Town Hall or Village Hall.
 
Status
Not open for further replies.
Top