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

Use an ability while burrowed?

Status
Not open for further replies.
Level 10
Joined
Nov 5, 2008
Messages
536
I have made so the Infestor can cast Neural parasite while burrowed and unburrowed. When the infestor is unburrowed, the spell has range 9. When the infestor is burried, I try to make the spell have a range of 5.



Is there any way to reduce the range of a spell if the unit is burrowed?

(I can´t find any solution, except create two seperate spells.. But that sounds like a lot of work for such a small matter. )
 
Level 10
Joined
Nov 5, 2008
Messages
536
You will need to create a copy of the ability with less rage. The ability can use the same effect chain so in reality it just means 1 extra data entry (not any effort at all).

Don´t I need to dublicate all actors etc for the new ability? Or can two abilities be connected to the same "data" ?

(I am just afraid it will cause errors or bugs. : / )
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
No, in general you always need to copy only the data you will change. If you want 2 units because one of the units will have modified stats you still need to copy their main actor (the one with unit icon) plus the unit because a unit actor can be linked only to 1 unit, so an actor for every new unit but for everything else - copy only the data you change, they can use the same source of actors, effects, behaviors and validators. So yes the ability only.
 
Status
Not open for further replies.
Top