INCINERATE
New Member
- Reaction score
- 12
so i created this trigger for mass entangling of units, it works but the units it kills dont give any bounty or XP upon death, i have "player- turn gives bounty on for Player integer A so that isnt the cause.
any ideas? this the trigg , it consists of tinker rockets as the base ability, Entangle as the dummy unit ability, and a dummy unit to do the casting
any ideas? this the trigg , it consists of tinker rockets as the base ability, Entangle as the dummy unit ability, and a dummy unit to do the casting
Trigger:
- mass entangle
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Mass entangle
- Actions
- Set TargetPoint = (Target point of ability being cast)
- Set Entangle_Group = (Units within (200.00 + (100.00 x (Real((Level of Mass entangle for Caster))))) of TargetPoint matching ((((Matching unit) belongs to an enemy of (Owner of Caster)) Equal to True) and (((Matching unit) is dead) Equal to False)))
- Unit Group - Pick every unit in Entangle_Group and do (Actions)
- Loop - Actions
- Set Temp_Point = (Position of (Picked unit))
- Unit - Create 1 dummy for mass entangle for (Triggering player) at Temp_Point facing Default building facing degrees
- Unit - Set level of Entangling Roots aoe entangle for (Last created unit) to (Level of Mass entangle for (Triggering unit))
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Unit - Order (Last created unit) to Night Elf Keeper Of The Grove - Entangling Roots (Picked unit)
- Custom script: call RemoveLocation (udg_Temp_Point)
- Loop - Actions
- Custom script: call RemoveLocation (udg_TargetPoint)
- Custom script: call DestroyGroup (udg_Entangle_Group)
- Events