# Remove Behaviors By Category

Grammar — Remove category behaviors from inUnit
FlagsNative | Action

Removes all behaviors that belong to the specified category from the specified unit.

# Arguments

Returns — void

native void UnitBehaviorRemoveCategory(
	unit inUnit,
	int inCategory,
);

Category: Behavior / Basic

# Examples

# mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmod

LibMDoE.galaxy

// L476
UnitBehaviorRemoveCategory(libGame_gv_teams[libAtDe_gv_attackDefend.lv_defendingTeam].lv_core, c_behaviorCategoryInvulnerable)

# mods/heroesdata.stormmod

MapMechanicsLib.galaxy

// L1448
UnitBehaviorRemoveCategory(lp_defender, c_behaviorCategoryReveal)
// L1449
UnitBehaviorRemoveCategory(lp_defender, c_behaviorCategorySlow)
// L1450
UnitBehaviorRemoveCategory(lp_defender, c_behaviorCategoryStun)
// L1451
UnitBehaviorRemoveCategory(lp_defender, c_behaviorCategoryDamageOverTime)

# mods/testmods/autopve.stormmod

Lib1035AFB3.galaxy

// L232
UnitBehaviorRemoveCategory(lv_groupunit, c_behaviorCategoryTemporary)
// L297
UnitBehaviorRemoveCategory(lv_groupunit, c_behaviorCategoryTemporary)