Skip to content

UMIPCombatMobInfoDataAsset

Overview

UMIPCombatMobInfoDataAsset holds FMIPMobCombatInfo for a mob archetype: attack ability class, acceptance range for AI movement, and scalable combat numbers (health, damage, etc.). Spawners map EMIPMobType to these assets via UMIPMobSpawnerCombatInfoDataAsset.

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


Key Classes & Files

Class File
UMIPCombatMobInfoDataAsset Public/DataAsset/MIPCombatMobInfoDataAsset.h
FMIPMobCombatInfo Public/Mob/MIPMobTypes.h
IsDataValid Private/DataAsset/MIPCombatMobInfoDataAsset.cpp

Properties

Property Type Description
SimpleMobInfo FMIPMobCombatInfo Attack GA, range, scalable health/damage, etc.

Editor validation

Severity Condition Message
Error SimpleMobInfo.GA_Attack null SimpleMobInfo.GA_Attack is not set — mob will have no attack ability.
Error SimpleMobInfo.AcceptanceRange <= 0 SimpleMobInfo.AcceptanceRange must be > 0. Got: %.2f
Error SimpleMobInfo.MobScalableCombatInfo.Health <= 0 SimpleMobInfo.MobScalableCombatInfo.Health must be > 0. Got: %.2f
Error SimpleMobInfo.MobScalableCombatInfo.Damage <= 0 SimpleMobInfo.MobScalableCombatInfo.Damage must be > 0. Got: %.2f

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


Integration

Topic Link
Mob spawner combat map UMIPMobSpawnerCombatInfoDataAsset
AI AI
Data assets index Data assets index