For my map which will hopefuly soon be released I have some abilities that aren't working.
Rabies - Basically it shadowstrikes an enemy unit, but instead of decreasing attack + move speeds the get decreased, and if the rabied unit dies for the duration of the spell, rabies transfers onto another nearby unit (not nessecarily an enemy unit, can be a hero). For some reason the transfering part doesnt work. Here is my trigger:
Rabies
Events
Unit - A unit Finishes casting an ability
Conditions
Or - Any (Conditions) are true
Conditions
(Ability being cast) Equal to Rabies
(Ability being cast) Equal to Rabies Relapse
Actions
Set RabiedUnit = (Target unit of ability being cast)
Set NextUnitToBeRabied = (Random unit from (Units within 900.00 of (Position of (Target unit of ability being cast)) matching ((Unit-type of (Matching unit)) Not equal to Carrier Hawk)))
Unit - Create 1 Rabies Caster for Player 5 (Yellow) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
Set RabiesCaster = (Last created unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Volva
Then - Actions
Unit - Set level of Rabies Relapse for RabiesCaster to (Level of Rabies for (Triggering unit))
Else - Actions
Unit - Set level of Rabies Relapse for RabiesCaster to (Level of Rabies Relapse for (Triggering unit))
The "Rabies Relapse" is the same ability, rabies, but remade into a unit ability so that the "rabies casters" can use it. There is another simple trigger as well. Could it possible be the order string?
Rabies Unit Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to RabiedUnit
Actions
Unit - Order RabiesCaster to Night Elf Warden - Shadow Strike NextUnitToBeRabied
------------------------------------------------------
Missile Launcher - Basically barrage remade into a multishot type ability, most of you are probably familiar with it, but for some reason, it fires whenver my hero attacks, rather than the specified time I set it, and it targets infinite units (that are nearby) instead of the 5 it is supposed to hit. What did I do wrong?
Rabies Unit Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to RabiedUnit
Actions
Unit - Order RabiesCaster to Night Elf Warden - Shadow Strike NextUnitToBeRabied
------------------------------------------------------
How do you make a repair that doesn't use lumber (even if the player's lumber is 0 lol...)
------------------------------------------------------
Reply to any of these plz! thx in advance for any help .
Rabies - Basically it shadowstrikes an enemy unit, but instead of decreasing attack + move speeds the get decreased, and if the rabied unit dies for the duration of the spell, rabies transfers onto another nearby unit (not nessecarily an enemy unit, can be a hero). For some reason the transfering part doesnt work. Here is my trigger:
Rabies
Events
Unit - A unit Finishes casting an ability
Conditions
Or - Any (Conditions) are true
Conditions
(Ability being cast) Equal to Rabies
(Ability being cast) Equal to Rabies Relapse
Actions
Set RabiedUnit = (Target unit of ability being cast)
Set NextUnitToBeRabied = (Random unit from (Units within 900.00 of (Position of (Target unit of ability being cast)) matching ((Unit-type of (Matching unit)) Not equal to Carrier Hawk)))
Unit - Create 1 Rabies Caster for Player 5 (Yellow) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
Set RabiesCaster = (Last created unit)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Triggering unit)) Equal to Volva
Then - Actions
Unit - Set level of Rabies Relapse for RabiesCaster to (Level of Rabies for (Triggering unit))
Else - Actions
Unit - Set level of Rabies Relapse for RabiesCaster to (Level of Rabies Relapse for (Triggering unit))
The "Rabies Relapse" is the same ability, rabies, but remade into a unit ability so that the "rabies casters" can use it. There is another simple trigger as well. Could it possible be the order string?
Rabies Unit Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to RabiedUnit
Actions
Unit - Order RabiesCaster to Night Elf Warden - Shadow Strike NextUnitToBeRabied
------------------------------------------------------
Missile Launcher - Basically barrage remade into a multishot type ability, most of you are probably familiar with it, but for some reason, it fires whenver my hero attacks, rather than the specified time I set it, and it targets infinite units (that are nearby) instead of the 5 it is supposed to hit. What did I do wrong?
Rabies Unit Dies
Events
Unit - A unit Dies
Conditions
(Dying unit) Equal to RabiedUnit
Actions
Unit - Order RabiesCaster to Night Elf Warden - Shadow Strike NextUnitToBeRabied
------------------------------------------------------
How do you make a repair that doesn't use lumber (even if the player's lumber is 0 lol...)
------------------------------------------------------
Reply to any of these plz! thx in advance for any help .