Event.Unit.Remove

Signals the removal of units from unit specifiers. Always followed by Event.Unit.Change.Add. Triggers for unit IDs that have been removed from the specifier tree, but may not trigger for any children of those units. You may want to use LibUnitChange instead of this event.

Usage:

Event.Unit.Remove(units)
ParameterTypeDatatypeDescription
unitsparametervariantTable of the units changed. Key is the unit ID, value is the unit specifier, or "false" if the unit now has no specifier.