Trigger the spell.
Base it off channel (instant-cast)
Then when it is casted, create 3 dummy units which have the model file of the missiles of the 3 summoned pandas.
Then move them to 3 random angles/points.
When they reach it, remove them.
Then create the heroes (or units, I forgot).
the only thing I can't figure out yet is how to remove the dummy after the storm earth and fire is finished. don't know how a expiration timer reacts on storm earth and fire, and I also don't know if the unit will leak.
Well, true... But all item summoning spells can summon up to 2 units (sadly it's not a solution for you). Dark Portal can summon different units but it's point targeted. I guess you'll have to stick with triggering it.
If you still need this, here you go.
It creates the Pandas and removes the dummy unit, and I also made it in GUI, MUI, leak-less, lag-less, yadayada.
Trigger:
Storm Earth And Fire
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to (==) YourHeroSpell
Actions
-------- Casting unit. --------
Custom script: local unit u = GetTriggerUnit()
-------- Setting the var. for the dummy unit. --------
Custom script: local unit d
-------- Owning player of the caster. --------
Custom script: local player p = GetOwningPlayer(u)
-------- Position of the caster. --------
Custom script: local location loc = GetUnitLoc(u)
-------- The level of the ability the caster has. To add the correct rawcode do Cntrl + d and find your spell and replace 'ANef' with the correct raw code and make sure to add ' ' at the front and end of the rawcode. --------
Custom script: local integer l = GetUnitAbilityLevel(u, 'ANef')
-------- Creates the Dummy Caster at the location we set above. --------
Unit - Create 1 Dummy for (p) at (loc) facing Default building facing (270.0) degrees
-------- Setting the "d" var. as the last created unit. --------
Custom script: set d = GetLastCreatedUnit()
-------- Adding a duration to the dummy unit so it wont sit in the map forever. --------
Unit - Add a 30.00 second Generic expiration timer to (d)
-------- Adding the ability to create the 3 "pandas". --------
Unit - Add Storm, Earth, And Fire to (d)
-------- Setting the level to create the pandas to the correct level, unless you don't need this then don't add. --------
Unit - Set level of Animate Dead for (d) to (l)
-------- Order the dummy unit to use storm, earth, fire. --------
Unit - Order (d) to Neutral Pandaren Brewmaster - Storm, Earth, And Fire
-------- Removing the location and nulling some of the set var. to prevent leaks n such. --------
Ghan has said he has fixed this. Monovertex please confirm this fix. This was only a problem with people that had signatures in the upper levels like not the special members but the respected members.