Right now, there is no way to replicate skimmer's EMP functionality.
Allow us to inflict stun on units.
Desired methods -
SetUnitStunned - takes a unit and duration, sets a stun counter on unit to that many frames.
GetUnitCanStun - gets the value of the "Can stun" setting on the unit, needed to avoid stunning unstunnables. SetUnitStunned should not check for this setting, as you might want to bypass immunity.
SetUnitCanStun - sets the value of "Can stun" setting.
GetUnitStunned - returns the amount of frames of stun remaining. 0 means "Not stunned".
Right now, there is no way to replicate skimmer's EMP functionality. Allow us to inflict stun on units. Desired methods -