• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

Custom Ability Issues

Status
Not open for further replies.
Level 2
Joined
Aug 25, 2011
Messages
9
Hi guys,

I am new here as well as somewhat new to the editor world, but I have been making progress until i hit trying to make an ability.

What I am trying to do is create an energy restoration ability, using the nano repair effects. After testing it, it will work, but the beam isnt visible and the effect on the target remains even after it has left the area of effect and has full energy. So Im a bit stumped to how this is happening since i made a copy of nano repair and modified it to my liking. So if you need anymore info please ask. Thanks.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,264
The actor events on the beam actor are set up incorrectly. By default it is created when the unit starts channeling the repair ability. It then must terminate the effect when channeling ends. As you have AoE, it can still be channeling the same unit when other units leave the area. Since it does not stop channeling they still have the beam actor attached to them.

A solution I think would be to make the beam actor be controled by an invisible buff behaviour on the units being healed. This buff time expires quickly unless constantly refreshed (continually healed). The beam is created between the source unit and the receving unit when the buff is given. The beam is destroyed when the receving unit loses the buff.
 
Level 2
Joined
Aug 25, 2011
Messages
9
Ah i see what you mean, and I think i like that idea better. The energy is coming from a reactor unit of mine so it would seem better than the repair beam. thanks. ^^
 
Status
Not open for further replies.
Top