• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Stunning Wave spell

Status
Not open for further replies.
Level 6
Joined
Dec 9, 2008
Messages
233
Hello I'm newb in advanced spell making so I need ur help..

Im trying to make spell like Carrion Swarm but only that it stuns..can it be done without JASS? tnx in front
 
Level 18
Joined
Feb 28, 2009
Messages
1,971
So you want it to move the way, that is only stunning?

EDIT: If yes I think the best thing that you can do with triggers is to create dummy unit with Carrion Swarm missile model, create 2 triggers (one is initialization, second moves the wave).
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
maybe...

set UNITGROUP <units that you want to stun>

pick every unit in UNITGROUP and do actions
-pause picked unit

wait <x> seconds

pick every unit in UNITGROUP and do actions
-unpause picked unit

call DestroyGroup(udg_UNITGROUP)
 
Level 9
Joined
Oct 7, 2007
Messages
599
This is doable. Make sure you zero all the damaging fields on Carrion Swarm (but leave range as you want). You then have to have a dummy caster and a stun spell cast by this unit, probably based off stormbolt with 99999 missile speed and no missile, with the appropriate stun times. Pick every unit within X range of the casting unit, then you have to check the angle between the casting unit and the target. The variance between the facing angle and the checked angle is the wideness of the cone.
 
Level 18
Joined
Feb 28, 2009
Messages
1,971
@ Angry_Bovine This will look stupid. The wave won`t touch even unit, and it will be stunned. He better do as I say. In second trigger do
Event - every 0.03 seconds
Conditions
Actions - move the way
- set wave_pos = position of dummy wave
- set temp_group = units within X from wave_pos
- pick every unit in temp_group and do actions
- create dummy ( and all other actions to stun)
-call RemoveLocation (udg_wave_pos)
-call DestroyGroup (udg_temp_group)
 
Level 2
Joined
Nov 15, 2008
Messages
22
It can be done without any triggers. Change Carrion Swarm's buff to Stunned and also change the duration. But I think TerraNexx wants it with triggers. It would be easy, but its only a suggestion.
 
Level 9
Joined
Oct 7, 2007
Messages
599
@ Angry_Bovine This will look stupid. The wave won`t touch even unit, and it will be stunned. He better do as I say. In second trigger do
Event - every 0.03 seconds
Conditions
Actions - move the way
- set wave_pos = position of dummy wave
- set temp_group = units within X from wave_pos
- pick every unit in temp_group and do actions
- create dummy ( and all other actions to stun)
-call RemoveLocation (udg_wave_pos)
-call DestroyGroup (udg_temp_group)

You must've misunderstood. The carrion swarm STILL SHOWS ITS ANIMATION. It is the stun portion itself that doesn't. Or do you think storm bolts flying around looks good? (However, I did forget to say one last statement on the last post: "Then, create a dummy caster to stormbolt every picked unit.)

It can be done without any triggers. Change Carrion Swarm's buff to Stunned and also change the duration. But I think TerraNexx wants it with triggers. It would be easy, but its only a suggestion.

This wouldn't change the effect, only the buff. It doesn't work.
 
Status
Not open for further replies.
Top