HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blizzard Questions

05-13-2006, 03:11 AM#1
kaldoreielf
I am making a spell, based off of the Human abilty, Blizzard. I have some questions:
1.) Is there any way to change the art of the falling shards?

2.) Is there any way to effect units when it is cast? example: If its cast on Human units, they gain health, but if its cast on any other race, they lose health.

Thanks in advance.
05-13-2006, 03:13 AM#2
Mystic Prophet
ok. first to change the artwork. go to the object editor. and where it says effects. change that to the desired artwork (this is assuming you dont want custom eyecandy in which case you'll have to trigger it)

As for having it heal human units and hurt others. you'd have to do the spell by triggers and then put that as a condition.
05-13-2006, 03:22 AM#3
kaldoreielf
Ok, so how do I remove the actual Blizzard Art from the spell?
And add more than one of the art I want?
EDIT: How can I make a Dummy Unit cast a spell?
EDIT2: How can I set a region to a space where the spell was cast?
EDIT3:
Trigger:
Untitled Trigger 001
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to PaladinABILITY
Collapse Actions
Rect - Center TempRect on (Target point of ability being cast)
Special Effect - Create a special effect at (Random point in TempRect) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set SpcEffect[1] = (Last created special effect)
Special Effect - Create a special effect at (Random point in TempRect) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set SpcEffect[2] = (Last created special effect)
Special Effect - Create a special effect at (Random point in TempRect) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set SpcEffect[3] = (Last created special effect)
Special Effect - Create a special effect at (Random point in TempRect) using Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
Set SpcEffect[4] = (Last created special effect)
why doesnt this trigger work? It creates nothing.
05-13-2006, 06:22 AM#4
Mystic Prophet
try holy bolt target. holy bolt special is barely noticable.

and to make a dummy unit cast a spell you do the following.

Trigger:
dummy cast
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Blizzard
Collapse Actions
Set temp_point = (Position of (Target unit of ability being cast))
Unit - Create 1 Dummy for Player 1 (Red) at temp_point facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Human Archmage - Blizzard temp_point
Unit - Remove (Last created unit) from the game
Point - Remove temp_point

and you don't have to set a region to the space where the spell was cast. you can simply do this

Trigger:
Damage area
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Blizzard (dummy)
Collapse Actions
Collapse Unit Group - Pick every unit in (Units within 500.00 of (Target point of ability being cast) matching (((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
Collapse Loop - Actions
Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
Unit Group - Destroy unit group (Last created unit group)

BUT if you want to move a region (its actually a rect) then you'd do the following.

Trigger:
Move Rect
Events
Conditions
Collapse Actions
Rect - Center region on offset((X of (Target point of ability being cast)), (Y of (Target point of ability being cast)))

NOTE: it will say region instead of rect on the normal world editor. Also the destory unit group and remove point triggers are only available on world editor unlimited. On normal WE, you'll need to use a custom script.


EDIT: oh and to change the blizzard art, you need to go to object editor (buffs/effects) and change the artwork on the blizzard(effect) dont bother with the buff.
05-13-2006, 07:08 AM#5
kaldoreielf
Whats the model path for holy bolt target? I can't seem to find it...
05-13-2006, 11:01 AM#6
Blade.dk
Collapse JASS:
Abilities\Spells\Human\HolyBolt\HolyBoltSpecialArt.mdl
05-13-2006, 11:36 AM#7
kaldoreielf
Ok, I found the model path.
New problem, I want it too damage Undead units/heroes, and heal Human units/heroes. How can I do this?
05-13-2006, 10:45 PM#8
Mystic Prophet
Use an if then condition in connection with the damage area trigger.

Trigger:
Damage area
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Blizzard
Collapse Actions
Collapse Unit Group - Pick every unit in (Units within 500.00 of (Target point of ability being cast) matching (((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Picked unit) is Undead) Equal to True
Collapse Then - Actions
Unit - Cause (Triggering unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
Collapse Else - Actions
Unit - Cause (Triggering unit) to damage (Picked unit), dealing -500.00 damage of attack type Spells and damage type Normal
Unit Group - Destroy unit group (Last created unit group)
05-14-2006, 01:05 AM#9
kaldoreielf
Trigger:
Unit Group - Pick every unit in (Units within 500.00 of (Target point of ability being cast) [b]matching[/b] (((Target unit of ability being cast) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)

How do I get too the matching part?


Trigger:
((Picked unit) is Undead) Equal to True

How do I get too Undead?
05-14-2006, 05:01 AM#10
Mystic Prophet
the matching part is a seperate action under pick ever unit and do multiple actions it says pick every unit matching condition and do multiple options.

undead is under the boolean comparison the same place you get matching unit is a hero. just scroll down and select undead.