How to get buffs to appear instantaneously

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
Greenspawn
Keeper of the Keys
Posts: 434
Joined: Fri Jan 18, 2008 4:50 pm
Location: Massachusetts

How to get buffs to appear instantaneously

Post by Greenspawn » Sun May 30, 2010 12:20 pm

I have dummy units applying buffs via spells (such as using acid bomb, storm bolt, etc as the spell base), but there is a delay in applying them associated with the time to cast the spell. How would I get around this?
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk

Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.

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

Re: How to get buffs to appear instantaneously

Post by Rising_Dusk » Sun May 30, 2010 4:09 pm

Make sure that the dummy casters...
  • ... are directly on top of their target or have 0 movement speed.
  • ... have no casting point and no cast backswing time.
"I'll come to Florida one day and make you look like a damn princess." ~Hep

Greenspawn
Keeper of the Keys
Posts: 434
Joined: Fri Jan 18, 2008 4:50 pm
Location: Massachusetts

Re: How to get buffs to appear instantaneously

Post by Greenspawn » Sun May 30, 2010 8:15 pm

Thanks a whole lot. I've been trying to figure this out for a long time.
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk

Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.

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

Re: How to get buffs to appear instantaneously

Post by Fledermaus » Sun May 30, 2010 9:53 pm

You should also remove 'Amov' from all Dummy casters, this allows them to instantly cast the spell (coupled with 0.00 cast points) at a target at any angle.

Greenspawn
Keeper of the Keys
Posts: 434
Joined: Fri Jan 18, 2008 4:50 pm
Location: Massachusetts

Re: How to get buffs to appear instantaneously

Post by Greenspawn » Mon May 31, 2010 10:10 am

Where is that in the object editor?
Math is # |e^iπ|
"I can't imagine getting hit by a giant rock and not being maimed or crippled or ruined" -Dusk

Logue: Please replace the toilet paper when you use it all. For some reason my 5 year old son believes if it's not there he does not have to wipe.

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

Re: How to get buffs to appear instantaneously

Post by Fledermaus » Mon May 31, 2010 11:06 am

It's not.

call UnitRemoveAbility(someunit, 'Amov')

Post Reply

Return to “Custom Map Creation”