Spell same like Dagurnott

This is where all discussion of WC3 mapmaking should be held. This forum exists particularly for mapmaking needs. If you have a question on how something works or have need for some code review, this is the place to put it.
Post Reply
FannyShaver
Champion Noobite
Posts: 33
Joined: Sun Jan 25, 2009 8:15 pm

Spell same like Dagurnott

Post by FannyShaver » Sat Sep 05, 2009 9:21 am

Could someone please explain me how can I make a spell like "Enemies must die!"?

User avatar
Oxygen
Grandmaster of Grammar
Posts: 1281
Joined: Thu Jan 17, 2008 6:14 pm

Re: Spell same like Dagurnott

Post by Oxygen » Sat Sep 05, 2009 10:26 am

force target to cast taunt

FannyShaver
Champion Noobite
Posts: 33
Joined: Sun Jan 25, 2009 8:15 pm

Re: Spell same like Dagurnott

Post by FannyShaver » Sat Sep 05, 2009 10:34 am

target won't have taunt.

User avatar
Fledermaus
Keeper of the Keys
Posts: 354
Joined: Fri Feb 01, 2008 9:55 am
Location: New Zealand
Contact:

Re: Spell same like Dagurnott

Post by Fledermaus » Sat Sep 05, 2009 10:43 am

GroupEnumUnitsInRange of the target, attack target?

User avatar
Oxygen
Grandmaster of Grammar
Posts: 1281
Joined: Thu Jan 17, 2008 6:14 pm

Re: Spell same like Dagurnott

Post by Oxygen » Sat Sep 05, 2009 10:59 am

FannyShaver wrote:target won't have taunt.
so give it for a fraction of a second

User avatar
Fledermaus
Keeper of the Keys
Posts: 354
Joined: Fri Feb 01, 2008 9:55 am
Location: New Zealand
Contact:

Re: Spell same like Dagurnott

Post by Fledermaus » Sat Sep 05, 2009 11:08 am

That'd interrupt channeling spells.

User avatar
Rising_Dusk
Chosen of the Intargweeb
Posts: 4031
Joined: Sat Dec 15, 2007 1:50 pm
Contact:

Re: Spell same like Dagurnott

Post by Rising_Dusk » Sat Sep 05, 2009 12:12 pm

It also wouldn't produce the same behavior as EMD. You need to manage the orders and the groups collected by casts of the spell. Basically, group up the units it affects, and have them follow the target around and take its orders. (You can detect orders given) If you want it to be simple and don't mind the behavior associated with it, simply ordering affected units to "smart" to the target works.
"I'll come to Florida one day and make you look like a damn princess." ~Hep

Post Reply

Return to “Custom Map Creation”