CBBPhoenix
New Member
- Reaction score
- 1
Hi everyone. I have had this trigger suggested in another thread, and I was given a map which proved that the trigger works. However it does sometimes not work in the example map I had. in my own map it never works . Can anyone tell me what is wrong with it?
It should cause units affacted by the spell to turn into sheep, in an AoE.
I have posted the map so you can see the triggers he suggested. It reads "Reverse Polarity" in WC3 but that's because he has edited it from the test map of that ability.
Thanks in advance.
It should cause units affacted by the spell to turn into sheep, in an AoE.
Trigger:
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Multi Polymorph
- (Level of (Ability being cast) for (Casting unit)) Equal to 1
- Actions
- Set MP_Caster = (Casting unit)
- Set MP_casterpoint = (Position of MP_Caster)
- Set MP_TargetGroup = (Units within 680.00 of (Target point of ability being cast) matching ((((Matching unit) belongs to an ally of (Owner of MP_Caster)) Equal to False) and (((Matching unit) is dead) Equal to False)))
- Unit Group - Pick every unit in MP_TargetGroup and do (Actions)
- Loop - Actions
- Set MP_TargetPoint = (Position of (Picked unit))
- Unit - Create 1 for (Owner of MP_Caster) at MP_TargetPoint facing Default building facing degrees
- Set MP_DummyUnit = (Last created unit)
- Unit - Add Polymorph (dummy) (Neutral Hostile) to MP_DummyUnit
- Unit - Hide MP_DummyUnit
- Unit - Order MP_DummyUnit to Human Sorceress - Polymorph (Picked unit)
- Unit - Remove MP_DummyUnit from the game
- Loop - Actions
I have posted the map so you can see the triggers he suggested. It reads "Reverse Polarity" in WC3 but that's because he has edited it from the test map of that ability.
Thanks in advance.