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

Unit owner or "storm, earth and fire" units?

Status
Not open for further replies.
Level 3
Joined
Dec 14, 2008
Messages
41
Is posible to know who is the pandaren unit owner of the storm earth and fire units that create that ability? (That sound confusing XD)
 
Level 3
Joined
Dec 14, 2008
Messages
41
That will return a player?, i need the unit that was split (hard to explain).
 
Level 11
Joined
Feb 16, 2009
Messages
760
Ok here it is, (If you want the owner or the splitted unit)
  • Player retriever
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Storm, Earth, And Fire
    • Actions
      • Player Group - Pick every player in (Player group((Owner of (Triggering unit)))) and do (Actions)
        • Loop - Actions
It might contain memory leaks im not sure, but i don't know how to remove.
 
Last edited:
Level 19
Joined
Aug 24, 2007
Messages
2,888
:/ ya hard question, I'll say you need a custom spell for MAX efficient
for non-mui
Unit Begins Casting ability
if its Storm, Earth and Fire
Set SEF_USER = Triggering Unit
 
Level 3
Joined
Dec 14, 2008
Messages
41
I will attach a mapa with the trigger and the ablity so you can see my problem.
I have create a paladin that can split into 2 different hero units. If the spawned units lost life the original unit will lost life too. The problem is that when i cast the spell with another paladin while i have the spell already running the spawned units will heal his life.
 

Attachments

  • pandaren.w3x
    15.5 KB · Views: 41
Status
Not open for further replies.
Top