Mob AI (Controllers)¶
Overview¶
AMIPBaseAIController extends AAIController for MIP mobs: chase player, move-to target (controller or location), attack retry/try, and target queries via AMIPBaseMob / FMIPMobCombatInfo. AMIPSimpleAIController provides a minimal variant in the same folder.
All paths below are relative to Plugins/ModularInventoryPlus/Source/ModularInventoryPlus/.
Key Classes & Files¶
| Class | File |
|---|---|
AMIPBaseAIController |
Public/AI/MIPBaseAIController.h |
AMIPSimpleAIController |
Public/AI/MIPSimpleAIController.h |
AMIPBaseAIController¶
- Movement:
StartChasePlayer,MoveToTargetController,MoveToTargetLocation,OnMoveRequestSuccessful(native event),BroadcastMovementSucceed,OnMovementSucceedDelegate. - Combat:
TryAttack,RetryAttack,IsTargetDead,GetTargetController/GetTargetActor. - State:
GetMobState,GetCombatInfo/GetMobCombatInfo. - ASC:
GetOwnerASC,GetTargetASCfor GAS integration.
Integration¶
- Ability System — mob abilities and attributes.
- Actors: Mobs & Spawners — pawn and spawner setup.