Warcraft III resources & community, 2003–2006 · archived

Aura Spell making

9 posts
#1

Aura Spell making

How do i make an aura come on and off, say endurance aura comes on every 5th second, and after 1 second it turns off.
#2
I think you would had to use Add/Remove ability actions... through i think that aura is pointless but if you find the way, good luck.

-Rui
#3
I think this is the better way,

If you want to make 3 levels endurance aura, then make it 4 levels (3+1), so the 4th level will have no effect and the tooltip description should like this:

Endurance Aura - [Level 1]
Endurance Aura - [Level 2]
Endurance Aura - [Level 3]
Endurance Aura - [Inactive]

Then, make a trigger so every 5 seconds the trigger set level of Endurance Aura on that unit to level 4, wait a second, and set it again to the exact level.
#4
Leopard, the idea is very very buggy. In your's, the player can get the fourth level itself which is inactive, eh?. You can remove the ability and replace it with another passive which does nothing. After one second, remove it and readd the first one.

~Daelin
#5
You guys are hopeless...

Ability: Techtree- Requirements- Require a dummy unit "x".

Map: Trigger-on interval you want,
action- create/remove dummy unit "x"

You might have to play with aura buff duration and refresh intervals.. if thats possible.

For an absolute method, you can make the unit something the buff does not target.. such as "achients" or "mechanical"

You cna also make it a dummy aura, and a buff caster that casts the true effect- which has a 1 second duration, on dummy aura affected units once every 5 seconds.
#6
EmbraceDeathYou guys are hopeless...

Ability: Techtree- Requirements- Require a dummy unit "x".

Map: Trigger-on interval you want,
action- create/remove dummy unit "x"

You might have to play with aura buff duration and refresh intervals.. if thats possible.

For an absolute method, you can make the unit something the buff does not target.. such as "achients" or "mechanical"

You cna also make it a dummy aura, and a buff caster that casts the true effect- which has a 1 second duration, on dummy aura affected units once every 5 seconds.


umm.. you know, the caster will got many unit produced at the end of the game (summary). that's why i always avoid using dummy unit too much.

@Daelin : Ah.. I forgot one thing. You should make two ability for this.

The one for the effect, and the other on hero that can be researched.

The one on hero you should make from item movement bonus ability. The point is because this ability display the icon when research, but doesn't display the icon on normal abilities.

So here's the trick:

- The on-research ability cause no effect. Edit movement bonus to 0.
- Then when hero research this ability, check:
if level equal to 1:
-give ability endurance aura (effect version)
- set level of endurance aura (effect version) equal to endurance aura (on-research)
else
- just set level of endurance aura (effect version) equal to endurance aura (on-research)

So, every several second:

- set level of endurance aura (effect version) to 4
- wait several second
- set level of endurance aura (effect version) to endurance aura (on-research)
#7
Thats a big confusion lol. Make it more specific. :roll:

-Rui
#8
Ok I'll make it more spesific:

Actually this is the old trick to make passive ability active only on certain time.

Let says we talk about Endurance Aura.
First, make 2 ability:

1. Endurance Aura (on hero)
- has 4 level
- Hero Ability equal to false
- Tooltip for each level:
* Endurance Aura [Level 1]
* Endurance Aura [Level 2]
* Endurance Aura [Level 3]
* Endurance Aura [Inactive]

2. Endurance Aura (on research)
- has 3 level
- Hero Ability equal to true
- Tooltip for each level:
You don't need to put tooltip on this ablity
- Make this ability from item movement speed
bonus ability
.
The purpose is because this ability doesn't show
normal icon, but just show icon on research
- This ability shouldn't give any benefit to the hero, because it just "reference ability"

Then give Endurance Aura (on research) ability to the hero that you want as a hero ability.

Then, make a trigger:
Events:
Unit learn a skill

Conditions:
Learned hero skill equal to Endurance Aura (on research)

Actions:
if level of Endurance Aura (on research)
equal to 1 then:
- Add ability Endurance Aura (on Hero) to the hero.
- Set level of Endurance Aura (on Hero) equal to level of Endurance Aura (on research)

else
- Set level of Endurance Aura (on Hero) equal to level of Endurance Aura (on research)

Ok, that is the first step. The second step is to make the ability inactive on certain time, it can be on day time, on night time, or every certain moment. Let says we talk about for every 5 seconds. Make a trigger like this:

Event
Every 5 seconds on game time

Action
- Pick all unit that has ablity Endurance Aura (on hero) and do action:
- Set ability level of Endurance Aura (on hero) to 4
=================
- wait 1 sec.
=================
- Pick all unit that has ablity Endurance Aura (on hero) and do action:
- Set ability level of Endurance Aura (on hero) to level of ability Endurance Aura (on research)

Hope that will help....
#9
Thanx guys for all your help. Sorry for the late reply but my internet stopped working for a while. If i have any more problems i'll let you know.

Jimmie