Ok i have a mass entangle trigger but what would i have to add in order to stop units/ heroes from using their abilities and items when mas entagled. I do not want to use pause trigger because it causes glitches. They can be hexed or something else. Also this ability is for 400 range but i need it for 3 levels so can somebody post a code that will have higher lvl thus increasing range.
Trigger:
- MassEntangle
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Silence
- Actions
- Unit Group - Pick every unit in (Units within 400.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
- Loop - Actions
- Unit - Create 1 Entagler for (Owner of (Triggering unit)) at (Position of (Picked unit)) facing Default building facing degrees
- 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)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 400.00 of (Target point of ability being cast) matching (((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
- Events