Warcraft III resources & community, 2003–2006 · archived

More Spell advise

29 posts
#16
Hmmm for example...

Events:
A Unit Dies

Conditions:
Dying Unit has buff Death Aura

Actions:
Create 1 Skeleton Warrior (for example) at Position of Dying Unit facing (whatever)


This would be cool and imba aura wouldnt it? :D:D

-Rui
#17
Agreed that would be very nice can I make it but oly if you wnat to.
#18
Of course you can do it, if I wannted to be an "ass" and keep it only for myself, I would have done it, and this was just some random idea that came up to my head :P

-Rui
#19
DaelinYou don't need to bother very much about how to make the aura... Yes, its true that some auras are very complicated, since they could referr to levels and stuff like that. But if you need a non-level aura then its very simple.


A multi-level aura is piece of cake to make... It's only hard if you're doing it in a stupid/dumb way...

Solution:

1. Make a buff for the aura.
2. Copy-paste it until you have as many buffs as levels. (Give them editor suffix, thats a big help in GUI).
3. Make level 1 use buff 1, level 2 buff 2 etc.
4. Simply check for which buff the unit has.

This is an example of level detection for aura's, hopefully you guys will get my point:

Event:
Unit - Generic Unit Event - A Unit Dies
Conditions:
Or - multiple conditions:
Dying unit has buff <buff 1> equal to true
Dying unit has buff <buff 2> equal to true
Dying unit has buff <buff 3> equal to true
Actions:
if (Dying unit has buff <buff 1> equal to true) then
Set AuraLevel = 1
else
if (Dying unit has buff <buff 2> equal to true) then
Set AuraLevel = 2
else
if (Dying unit has buff <buff 3> equal to true) then
Set AuraLevel = 3
else
actions using the level var

Note that this is a gui example and can be done easier in Jass (or even in GUI, forgetting the var and doing the actions directly replacing the var with the respcetive level).

- Blade
#20
You really think I don't know this simple yet buggy solution? Of course I once tried to make such an aura... And it proved to work. Very well I might say. But unfortunately if you have more than one unit with the aura, and the two heroes are allied, then if they have different levels for the auras they will stack. Which is a very bad idea... It was awful for me especially since I wanted to make auras for melee and when I realized this I had some shock... "Why would they stack?", I thought... But they do and so, unfortunately its not the best idea. But yeah, if you plan to use it in an arena, its perfect. :D

~Daelin
#21
Ok you guys are confusing me I'm tying to make a repell aura I already made the 'Death Aura' can anyone help with this I'll sned the Aura as soon as I;m done with my Arcane competion Entry :roll:
#22
DaelinYou really think I don't know this simple yet buggy solution? Of course I once tried to make such an aura... And it proved to work. Very well I might say. But unfortunately if you have more than one unit with the aura, and the two heroes are allied, then if they have different levels for the auras they will stack. Which is a very bad idea... It was awful for me especially since I wanted to make auras for melee and when I realized this I had some shock... "Why would they stack?", I thought... But they do and so, unfortunately its not the best idea. But yeah, if you plan to use it in an arena, its perfect. :D

~Daelin


Oh you're right haven't thought of it... I just made an aura for my arena, and there it ain't a problem.. :)
#23
OK back on the topic at hand if I make a Aura that repels the enemy unit will I need a specific type of spell like the spell called Rpell nova and will I need to add a dummy unit to that or for my other spell I want to make a ninja disapear like the one in
swift attack by UV I think ,after he attcks random units I want him to go to a specific area and throw a number of blades killing the targeted units I only get as far as the multiple killed units then it just does something stupid like it keeps him inivisble
and the other one it does nothing.

Sorry for bad punc etc
#24
NabzoOK back on the topic at hand if I make a Aura that repels the enemy unit will I need a specific type of spell like the spell called Rpell nova and will I need to add a dummy unit to that or


I think you shouldn't make dummy unit, just apply those trigger function for repel nova to the enemy unit that attack it.

Nabzofor my other spell I want to make a ninja disapear like the one in
swift attack by UV I think ,after he attcks random units I want him to go to a specific area and throw a number of blades killing the targeted units.


Hmm.. just give a chance to the unit when he attack, then move it instantly to random point in region centered at target unit with any size, facing the target unit. Then create some dummy units and order them to throw some blades to the target.
#25
Hello again another problem I want to make a spell that is passive like critical strike which if the percent is on lets say 40 percent he caster will throw some ninja stars.

any ideas ?
#26
Of course... Everytime

Event - an unit is attacked
Conditions - Random Integer Between 1 and 100 is less than or equal to YourChance (in this case 40 since it is 40%)
- Attacker Has YourAbility Equal to true

You do the actions you want.

~Daelin
#27
Thanx Again Sorry about the last ncident :oops:
#28
Nice to see you still learning about making spell. :wink:
#29
Well I need something to fill in the time and I need Ideas for spells for my campaign I'm kinda in a jam this will be one of them if I can get it to work that is. :D

By the way why is that no one can give me one idea for a dwarf spell or snf on thst topic Rui any more great ideas