- Joined
- Nov 24, 2012
- Messages
- 198
I make the trigger like this
Help me and post trigger too,tnx
-
Cast
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Sun Bombardment
-
Actions
- Set SB_Caster = (Triggering unit)
- Set SB_Caster_pos = (Position of (Triggering unit))
- Unit Group - Add SB_Caster to SB_Caster_Group
-
Unit Group - Pick every unit in (Units within 500.00 of SB_Caster_pos matching ((((Triggering unit) belongs to an ally of (Owner of (Triggering unit))) Equal to False) and (((Triggering unit) is in SB_Caster_Group) Equal to False))) and do (Actions)
-
Loop - Actions
- Set SB_target_pos = (Position of (Picked unit))
- Set SB_taget_unit = (Picked unit)
- Special Effect - Create a special effect attached to the chest of SB_taget_unit using Abilities\Spells\Undead\DarkRitual\DarkRitualCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Create 1 SB Dummy unit for Neutral Hostile at SB_target_pos facing Default building facing degrees
- Special Effect - Create a special effect attached to the origin of SB_taget_unit using Abilities\Spells\Human\Thunderclap\ThunderClapCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Cause (Last created unit) to damage SB_taget_unit, dealing 300.00 damage of attack type Spells and damage type Fire
-
Loop - Actions
-
Events
Help me and post trigger too,tnx