• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Data] Changing AoE Range via Buff?

Status
Not open for further replies.
Level 4
Joined
May 16, 2007
Messages
53
I'm trying to make a buff which will stack on my unit the more it attacks, which is easy enough. The trouble is, I want the buff to slowly increase my units AoE, I cant seem to figure it out...
Any help would be greatly appreciated.

Anyone?
 
Last edited by a moderator:
Shouldn't be too difficult, just some work required. You'll need to make multiple effects, each a copy of the original damage effect used by the units weapon, but for each one you have to change its scan filters radius (this controls the AoE of the weapon) and make them increasingly bigger for each effect, depending on the intervals you want it to change at. Then create validators to check the # of behaviors that the source unit has of the type that increases its AoE. Add each validator to the appropriate damage effect you created. Finally create a Set effect and add all of your damage effects to it, then set your Weapon to reference the set effect. This should allow your unit to only use the appropriate damage effect depending on the number of buffs it has.
 
Status
Not open for further replies.
Back
Top