Hi,
I'm fairly new to World Editor and I have recently edited a DotA template map (not the newest version, just an old one.) Now, for one of my custom heroes I thought about an ability which would work in the following way.
The hero uses the ability (the modified version of Tinker's Pocket Factory), which spawns a Pocket Factory at a target location. The Pocket Factory however, aside from producing the clockwerk goblins as usual, also gives the hero +1250 HP bonus (until the ability time ends OR the factory gets destroyed).
Therefore, the fun thing with this spell would be that if the enemy destroys the building, the HP bonus is cancelled (along with the clockwerk goblin spawning, but that's obviously working).
However, I tried both with Trigger Editor and Object Editor, and yet I couldn't find any way to achieve this. Please help, it's a bit urgent.
Raven
I'm fairly new to World Editor and I have recently edited a DotA template map (not the newest version, just an old one.) Now, for one of my custom heroes I thought about an ability which would work in the following way.
The hero uses the ability (the modified version of Tinker's Pocket Factory), which spawns a Pocket Factory at a target location. The Pocket Factory however, aside from producing the clockwerk goblins as usual, also gives the hero +1250 HP bonus (until the ability time ends OR the factory gets destroyed).
Therefore, the fun thing with this spell would be that if the enemy destroys the building, the HP bonus is cancelled (along with the clockwerk goblin spawning, but that's obviously working).
However, I tried both with Trigger Editor and Object Editor, and yet I couldn't find any way to achieve this. Please help, it's a bit urgent.
Raven