• 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.

[Trigger] Special Effect at Point not Functioning.

Status
Not open for further replies.
Level 1
Joined
Dec 14, 2011
Messages
2
The special effect is not appearing. When I set the special effect to appear at location of the triggering unit it all works fine but when I change it so the effect appears at the target of the ability being used the effect doesn't appear.

Here's the trigger.

  • Cloud Effect
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Cloud of Disease
    • Actions
      • Set CloudPoint = (Target point of ability being cast)
      • Special Effect - Create a special effect at CloudPoint using Abilities\Spells\Undead\PlagueCloud\PlagueCloudCaster.mdl
      • Wait 10.00 seconds
      • Special Effect - Destroy (Last created special effect)
Side Note: I now realize that the "Destroy (Last created special effect)" won't work as well when there are multiple special effects going so I should probably replace that with a variable. Am I correct in thinking that?
 
Level 11
Joined
Nov 15, 2007
Messages
800
What's the targeting type of the ability? If it's unit targeted you should use "Position of target unit of ability being cast". If it's AoE targeted I'm not sure how well target point works.

If you want to make the special effect multi-unit instanceable you should use a hash table, otherwise if you only need one unit to be able to cast it a variable will work fine (as long as no conflicting trigger uses the same variable)
 
Level 1
Joined
Dec 14, 2011
Messages
2
The ability I think might function as an AoE? The base spell was Flare which has an effect which illuminates a large area but I thought that spell (Flare) selected a point, and then illuminated around the point (basically just working as a circle with center point = targeted spot on map).

The ability I'm trying to create will function as an AoE and apply a debuff to any units which pass through it. Does that knowledge clear up any ideas for a better method?
 
Level 3
Joined
Nov 16, 2011
Messages
54
Make your Event to be Unit is ordered to target a Point. If the special effect fire 2 early find a way to work around yet you can always use Wait before you create special effect
 
Status
Not open for further replies.
Top