• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How do you detect Item Spells with triggers?

Status
Not open for further replies.
Level 3
Joined
Dec 22, 2005
Messages
38
I'm working with lightning orb and it has a chance to cast a custom spell. However, I haven't had any luck detecting the cast of that spell when it happens. I'm trying use dummy units to enhance the spell, but I can't get the events to pick it up.

IE - Unit begins the effect.... Cond: Ability being cast = X. This doesn't pick it up. (I've tried X as the new ability and as the orb ability itself, neither work.)
 
Event - Unit uses item

Cond - Item Type of item being manipulated =
 
I've tried that one actually. Lightning orb is sort of a passive thing, and it isn't "used" or "manipulated".

I'm still stumped as how to detect the spell it casts.
 
So you're suggesting to trigger my custom spell on the event that the unit attacks and the condition that it possesses the item?

Could there be any problems though with the event, could a ranged attacker cancel their attack and still trigger the attacked event?
 
Oh i thought it was a unit/hero ability, but still shouldn't matter too much.

I haven't checked with that stuff for a while, so I'm unsure, so I don't want to give you a false answer.
 
You can try with "Unit - Starts the effect of ability" event, and in the condition check if "Ability being cast" is equal, not to item ability lightning orb but to the ability that is activated via lightning orb. I hope you understand me.
 
morsila said:
You can try with "Unit - Starts the effect of ability" event, and in the condition check if "Ability being cast" is equal, not to item ability lightning orb but to the ability that is activated via lightning orb. I hope you understand me.

I do, but that's where I started with. It doesn't trigger the event of a unit casting an ability.
 
Status
Not open for further replies.
Back
Top