Beat Up A Cop
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to beat up a cop
(Unit-type of (Target unit of ability being cast)) Equal to Cop
Actions
Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Other\Charm\CharmTarget.mdl
Sound - Play RockHeavyBashMetal1 <gen>
Unit - Remove (Target unit of ability being cast) from the game
Unit - Replace (Casting unit) with a Wanta Be Guard using The old unit's relative life and mana
Now i need help though? I want to make a trigger where when a unit casts this spell if there is a cop with in 500range of the unit casting the spell the cop attacks him.