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!
use for abilityId the unitTypeId of the Unit and for effecttype EFFECT_TYPE_MISSILE.
index 0 is attack 1
index 1 is attack 2.
looks that way in GUI.
Nahkampf-Initialisierung
Events
Map initialization
Conditions
Actions
Set UnitType = Zauberin
Custom script: set udg_String = GetAbilityEffectById(udg_UnitType, EFFECT_TYPE_MISSILE, 0)
Game - Display to (All players) for 30.00 seconds the text: String
Custom script: set udg_String = GetAbilityEffectById(udg_UnitType, EFFECT_TYPE_MISSILE, 1)
Game - Display to (All players) for 30.00 seconds the text: String
But wait there is an gui equavalance... but it limits to ability.
one could do a type conversion with custom script.
Cause unitType(Id) and ability(Id) are both integer in the end.
Nahkampf-Initialisierung Kopieren
Events
Map initialization
Conditions
Actions
Set UnitType = Zauberin
Custom script: set udg_Spell = udg_UnitType
Set String = (Art path of Spell Missile Art (index 0))
Game - Display to (All players) for 30.00 seconds the text: String
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.