Skip to content

UMIPMobCombatDataAsset

Overview

UMIPMobCombatDataAsset configures animation-driven combat for a mob: attack ability tag, anim-notify-fired ability tag, attack montage, knockback montage, optional damage applier spawn class, and forward attack distance. Used where combat is driven by montage + notifies rather than only UMIPCombatMobInfoDataAsset scalars.

Defaults in the header point common tags to melee attack / fired tags.

All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.


Key Classes & Files

Class File
UMIPMobCombatDataAsset Public/DataAsset/MIPMobCombatDataAsset.h
IsDataValid Private/DataAsset/MIPMobCombatDataAsset.cpp

Properties

Property Type Description
AttackAbilityTag FGameplayTag Main attack ability tag.
AnimNotifyFiredAbilityTag FGameplayTag Tag activated from anim notifies when damage should apply.
AttackMontage UAnimMontage* Attack animation.
KnockbackMontage UAnimMontage* Knockback reaction.
SpawningAttackActor TSubclassOf<AMIPBaseDamageApplierActor> Optional ranged/special damage applier.
ForwardDistanceToAttack float Forward offset for traces/spawns.

Editor validation

Severity Condition Message
Error AttackAbilityTag invalid AttackAbilityTag is not set.
Error AnimNotifyFiredAbilityTag invalid AnimNotifyFiredAbilityTag is not set.
Error AttackMontage null AttackMontage is not set.

Implementation: Private/DataAsset/MIPMobCombatDataAsset.cpp (#if WITH_EDITOR).


Integration

Topic Link
Mobs Mobs & Spawners
Data assets index Data assets index