HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Aura to stop skeletal duration decay?

10-04-2004, 07:50 PM#1
Unsung Hero
I want to make an aura (basing it off of Aura of Blight) that suspends the duration decay of skeletons. When the skeleton is in range of the aura, the trigger will stop their duration from decreasing, but when they leave the range of the aura, the duration resumes to decrease. Does anyone know how to trigger this? Thanks.
10-04-2004, 09:36 PM#2
BuRnInSpartan
wow that's a tuffy let me work on that
10-04-2004, 11:54 PM#3
th15
Code:
Event:
Every 2 seconds

Action:
Pick every unit in unit group [All units of type Skeleton]
     loop:
     If-then-else:
                 Condition: Picked unit has SkeletalAura Buff = true
                 Then: Pause expiration timer for picked unit
                 Else: Unpause expiration timer for picked unit

P.S. Burnin, don't post until you actually have something to add, no one cares if a problem puzzles you, they just need an answer.
10-05-2004, 12:28 AM#4
Unsung Hero
I have a question about that trigger. Is the initial action a "Pick every unit of group and do multiple actions"? I couldln't make it loop under a single action trigger. Thanks.
10-08-2004, 01:29 PM#5
Unsung Hero
I can't get the trigger to work. I Figured it was the Aura of Blight buff at first, b/c it didn't seem to be effecting anyone for some reason (I did edit it so that it did give some regen). So, I used an edited Unholy Aura and Unholy Aura Buff. The move and buff are called "Aura of Blight (edit)". It's still not working :(

Here's the trigger so far:
Quote:
Skelley Aura
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Skeleton Warrior) and do (Actions)
Loop - Actions
If (((Triggering unit) has buff Aura of Blight (Edit) ) Equal to True) then do (Unit - Pause the expiration timer for (Picked unit)) else do (Unit - Unpause the expiration timer for (Picked unit))
Unit Group - Pick every unit in (Units of type Skeletal Archer) and do (Actions)
Loop - Actions
If (((Triggering unit) has buff Aura of Blight (Edit) ) Equal to True) then do (Unit - Pause the expiration timer for (Picked unit)) else do (Unit - Unpause the expiration timer for (Picked unit))

Anyone know what I'm doing wrong?

Thanks.
10-08-2004, 04:01 PM#6
Dead-Inside
There's no triggering unit.
10-08-2004, 04:48 PM#7
oNdizZ
Quote:
Originally Posted by Dead-Inside
There's no triggering unit.

yup. it should be "picked unit" instead
10-08-2004, 04:48 PM#8
Unsung Hero
Isn't that covered in the Actions,,w/ pick every unit (Skeletal Warrior/Archer)?
10-08-2004, 07:12 PM#9
Dead-Inside
Triggering unit refers to the unit who set of the trigger. Since there is no such event, there's no such thing as a triggering unit for the trigger either.
10-09-2004, 09:56 AM#10
oNdizZ
Quote:
Originally Posted by Unsung Hero
Isn't that covered in the Actions,,w/ pick every unit (Skeletal Warrior/Archer)?

well, if you want to target the units who were picked in "pick every unit in unit ground and do actions" you have to use "picked unit"
10-11-2004, 07:57 PM#11
Unsung Hero
I changed it to ‘picked unit', but I'm still having trouble. I tried out the skill, and it works such that it halts skeletal decay, but it oddly changes the timer all the way down to 0 and keeps it there. It even stays there after the skeleton leaves the range of the aura, effectively making it last forever (until it dies somehow). Maybe I did something wrong again in the trigger, so here's what I currently have below:

Quote:
Skelley Aura
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Skeleton Warrior) and do (Actions)
Loop - Actions
If (((Picked unit) has buff Aura of Blight (Edit) ) Equal to True) then do (Unit - Pause the expiration timer for (Picked unit)) else do (Unit - Unpause the expiration timer for (Picked unit))
Unit Group - Pick every unit in (Units of type Skeletal Archer) and do (Actions)
Loop - Actions
If (((Picked unit) has buff Aura of Blight (Edit) ) Equal to True) then do (Unit - Pause the expiration timer for (Picked unit)) else do (Unit - Unpause the expiration timer for (Picked unit))

Am I doing something wrong, or does it need to be changed somehow?
10-12-2004, 02:21 PM#12
th15
Hmm, i tried and it seems that the pause unit expiration trigger really does mess things up, I don't have an easy way that you can fix it. You'll probably just have to give skellies a negative regen and have the skeletal aura coutneract that.
10-12-2004, 07:57 PM#13
Unsung Hero
Quote:
Originally Posted by th15
Hmm, i tried and it seems that the pause unit expiration trigger really does mess things up, I don't have an easy way that you can fix it. You'll probably just have to give skellies a negative regen and have the skeletal aura coutneract that.

Thanks. Would you know how to go about doing that? I'm a little clueless :(
10-12-2004, 08:13 PM#14
Gandalf2349
You would have a trigger.
Code:
Events
 -Every 1.00 Seconds
Conditions
Actions
 -Pick Every (Skeleton Warrior) in (Playable Map Area) and do Actions
  -Loop Actions
   -Unit - Set Property (Set HitPoints of (Picked Unit) to ((Hit Points) of (Picked Unit) - 1)

Then you would make the aura a regen aura that gives out 1 hp per second.
10-13-2004, 04:20 PM#15
th15
Nah, no need for triggers. Just set the skellie's default regen rate to -1.00 and regen condition to always. The aura will give +1 regen to only skellies (make the aura target only summoned player units)