Creature AI (PrimalDinoAIController)
10 min readASA DevKit as of November 2026 (UE 5.8.1); ASE where noted
A creature's brain is its AI controller, an actor that possesses the creature and decides what it does. It picks targets, chooses when to attack, flee or wander, and runs behavior trees for each mode. Most of the numbers you'll tune are plain settings on it. Some targeting settings live on the creature instead, and this page covers both.
- Native class:
PrimalDinoAIController - Start from: a child of the parent creature's controller, or
Dino_AIController_BP - Registered in: nothing; the creature's AI Controller Class points at it
- Guides: make a creature (step 8), Creatures, buffs
What you can do with it
- Make a creature hostile, neutral or skittish with a few settings: How to make a custom creature.
- Tune attack ranges to fit a new body size, so it neither attacks from too far nor never arrives.
- Change who it targets and how much it wants each target.
- Change when it flees, how far it wanders, and how a pack shares aggro.
- Replace whole behaviors by pointing at your own behavior trees.
- Change one vanilla species' behavior without a new creature: Changing vanilla content.
What the controller decides
The controller runs one top-level behavior tree, Dino_BT. That tree switches between sub-trees depending on the
situation:
| Situation | Tree setting | Vanilla tree |
|---|---|---|
| No enemy: wandering and idling | No Enemy Tree | DinoSeek_BT |
| Has an enemy | Has Enemy Tree | DinoAttack_BT, or DinoFlee_BT on passive creatures |
| Fleeing after being hit | Flee From Attack Tree | DinoFlee_BT |
| Forced to fight | Forced Aggro Has Enemy Tree | DinoAttack_BT |
| A baby with an enemy | Baby Has Enemy Tree | DinoFlee_BT |
| Tamed, no enemy | Tamed No Enemy Tree | none by default |
| Spawned by a mission | Mission Tree | none by default |
The base also adds a Blueprint variable, Baby Has Enemy Tree With Wild Parent. It sends a wild baby back to its
parent (DinoWildChildFleeToParent_BT).
Tamed creatures run the same controller. Their follow, attack and aggression orders come from the player's whistles and the radial menu.
When to swap the controller, and when to change settings
Change settings when the creature should behave like its parent, only with different numbers. Ranges, aggression, wander distance and flee thresholds are all settings. Make a child of the parent's controller and edit its Class Defaults.
Swap a behavior tree when one mode should work differently. The Dodo is the model here. Its controller uses the flee tree as its Has Enemy Tree, so it runs from whatever attacks it.
Swap the whole controller when the creature should act like a different species. Giving a carnivore a herbivore's controller calms it. A herbivore with a carnivore's team and controller fights. Set it on the creature with AI Controller Class. To use a different controller only once tamed, the creature has Tamed AI Controller Override.
Tip
Copied creatures sometimes attack and turn but never walk. Modders fix it by reassigning the AI controller. Better still, make your creature a child instead of a copy.
The settings that matter
Defaults come from Dino_AIController_BP, the base nearly every vanilla controller uses. "None" means the C++ code
sets it and I couldn't read it from the files. Distances are in Unreal units, which are centimeters.
Behavior trees
| Setting | What it does | Vanilla default |
|---|---|---|
| Behavior Tree | The top-level tree that picks the mode. | Dino_BT |
| No Enemy Tree | Runs while it has no target. | DinoSeek_BT |
| Has Enemy Tree | Runs while it has a target. Point it at the flee tree for a passive creature. | DinoAttack_BT |
| Flee From Attack Tree | Runs while it flees after being hit. | DinoFlee_BT |
| Tamed No Enemy Tree | Runs while tamed with no target, if set. | None |
Aggression: hostile, neutral or passive
| Setting | What it does | Vanilla default |
|---|---|---|
| Use Overlap Target Check | Makes it look for targets on its own. On is hostile; off is neutral. The Dodo has it off. | on |
| Not Allowed To Find Targets | Stops it from picking targets at all. | off |
| Use Aggro | Turns on the aggro system: it remembers who hurt it and how much. | off |
| Aggro Factor Decrease Speed | How fast that grudge fades. | None |
| Aggro To Add Upon Acquiring Target | Aggro added when it picks a target. | None |
| Aggro Notify Neighbors Range | How far it calls nearby creatures of its kind to help. The Rex uses 5,000. | None |
| Aggro Notify Neighbors Multiplier | How much aggro those neighbors get. | None |
| Aggro Notify Neighbors Classes | Other classes that answer its call. | (empty) |
| Use Improved Aggro Falloff Behavior | A newer aggro calculation. It's opt-in because it changes long-standing behavior. | off |
| Damage Notify Team Aggro Range | On the creature: how far damage to it alerts its team. | 2200 |
Targeting
| Setting | What it does | Vanilla default |
|---|---|---|
| Natural Targeting Range | How far a wild one looks for targets. The Rex uses 6,500. | None |
| Tamed Targeting Range | How far a tamed one looks for targets. | None |
| Force Only Targeting Players | Only ever targets players. | off |
| Force Only Targeting Player Or Tamed | Only targets players and tames. | off |
| Force Targeting All Structures | Lets structures count as targets. | off |
| Base Structure Targeting Desire | Starting desire for a structure as a target. | None |
| Wild Targeting Desire Multiplier Classes | Classes a wild one likes or dislikes as targets. Pairs with the values list. | (empty) |
| Wild Targeting Desire Multiplier Values | The multipliers for those classes. | (empty) |
| Totally Ignore Water Targets | Ignores targets in water. | off |
| Force Target Dino Rider | Goes for the rider instead of the mount. | off |
| Targeting Team Name Override | On the creature: the team others read to decide who fights whom. The Rex is Carnivores_High. |
None |
| Base Targeting Desirability | On the creature: how attractive it is as a target. The Rex is 1.3. | 1 |
| Targeting Ignored By Wild Dinos | On the creature: wild creatures leave it alone. | off |
| Targeting Ignore Wild Dinos | On the creature: it leaves wild creatures alone. | off |
| Attack Player Desirability Multiplier | On the creature: how much it prefers players as targets. | 1 |
Attack ranges
The controller's ranges decide when to close in and when to swing. Each attack in the creature's Attack Infos has its own range too. Scale both to the body: a big creature needs a long range and offset, or it never reaches.
| Setting | What it does | Vanilla default |
|---|---|---|
| Attack Range | Distance at which it attacks. The Rex uses 1,200. | None |
| Attack Destination Offset | How far from the target it stops when closing in. The Rex uses 850. | None |
| Attack Interval | Seconds between attacks. The Rex uses 0.6. | None |
| Attack Rotation Range Degrees | How far off-center the target can be and still be hit. | None |
| Attack Rotation Rate | How fast it turns to face its target while attacking. | None |
| Attack Rotation Ground Speed Multiplier | Movement speed while turning to attack. | None |
| Focus On Target During Attack | Keeps facing the target during an attack. | off |
| Above Delta ZAttack Range | How far above it a target can be and still be attacked. | None |
| Below Delta ZAttack Range | How far below it a target can be and still be attacked. | None |
| Attack Forces Running | Sprints when it attacks. | off |
Fleeing
| Setting | What it does | Vanilla default |
|---|---|---|
| Flee Health Percentage | On the creature: the health share below which it starts to flee. | 0.15 |
| Break Flee Health Percentage | On the creature: a second health threshold for fleeing. I haven't tested exactly how it pairs with the first. | 0.1 |
| Flee On Critical Health | Flees when health gets critical. | off |
| Force Flee Under Health Percentage | Forces fleeing below this health share. | None |
| Only Force Flee Under Health Percentage If Wild | Only forces fleeing while wild. | off |
| Flee From Attack Time Limit | Seconds it keeps fleeing after a hit. The Dodo uses 15. | None |
| Flee From Attack Cool Down Time | Seconds before it can flee from a hit again. The Dodo uses 30. | None |
| Percentage Torpor For Fleeing | Torpor share at which it flees. | None |
| Disable Force Flee | Turns forced fleeing off. | off |
Wandering and staying near home
There's no setting called a leash. Wild creatures stay roughly where they spawned through wander distances and their spawn zone. For a hard limit, call the creature's volume functions listed under functions below.
| Setting | What it does | Vanilla default |
|---|---|---|
| Dont Wander | Stands still when idle. | off |
| Wander Random Distance Amount | The random part of each wander step. The Rex uses 3,000. | 2500 |
| Wander Fixed Distance Amount | The fixed part of each wander step. | 600 |
| Flying Wander Random Distance Amount | The random part of a flyer's wander step. | None |
| Wander Flying Min ZHeight Above Ground | The lowest a wandering flyer goes. | None |
| Allow Swim Wandering For Land Dinos | Lets a land creature wander into water. | off |
| Prevent Wandering Under Water | On the creature: keeps a swimmer from wandering underwater. | off |
| Outside Original NPCVolume Stasis Destroy Interval | On the creature: from its name, how long a wild one outside its spawn zone survives in stasis before it's removed. | 3600 |
| Follow Stopping Distance | How close a tame following a player stops. | 400 |
| Tamed Max Follow Distance | How far a tame can fall behind before it stops following. | None |
Events you can override
These are on the controller. Make a child controller to override them. Most only fire with their switch on, which is a setting on the same controller.
| Event | When it fires | Use it for | Needs |
|---|---|---|---|
BPSetupFindTarget |
Before it searches for a target. | Preparing your own targeting. | bUseBPSetupFindTarget |
BPUpdateBestTarget |
After it picks its best target. Return the one to use. | Overriding target choice. | bUseBPUpdateBestTarget |
BPGetTargetingDesire |
When it scores a possible target. | Custom target preferences. | bUseBPTargetingDesire |
BPNotifyTargetSet |
When its target changes. | Roars, buffs, music. | bNotifyBPTargetSet |
OnLosingTargetEvent |
When it loses its target. | Calming down, returning home. | |
BPOnFleeEvent |
When it starts fleeing. | Flee effects. | |
BPPreventStartle |
Before it plays a startled reaction. | Creatures that never startle. | bUseBPPreventStartle |
BPPreventAddAggroOnTakeDamage |
When damage would add aggro. | Ignoring some attackers. | |
BPShouldNotifyNeighbor |
When it would call a neighbor for help. | Choosing who joins the fight. | bUseBPShouldNotifyNeighbor |
BPForceTargetDinoRider |
When the target is a ridden creature. | Going for the rider. | bUseBPForceTargetDinoRider |
BPOverrideIgnoredByWildDino |
When a wild creature checks whether to ignore a target. | Truces between species. | bUseBPOverrideIgnoredByWildDino |
BPOverrideLandingLocation |
When a flyer picks where to land. | Custom landing spots. | bUse_BPOverrideLandingLocation |
On the creature, two more help: BPShouldForceFlee (with its switch) decides when it must flee, and
BPOnDinoStartled fires when the startled animation plays.
Functions you'll call
| Function | What it does |
|---|---|
GetControlledDino |
The creature this controller drives. |
GetTarget / SetTarget |
Reads or sets its current target. |
FindTarget |
Runs a target search now. |
AddToAggro / RemoveFromAggro / ClearAggroEntries |
Changes who it holds a grudge against. |
IsWithinAttackRange |
Checks whether a target is in reach. |
GetAttackRange / GetAttackInterval |
Reads the current attack values. |
GetRandomWanderDestination |
Picks a wander point, for your own wander logic. |
PauseBrainComponent / ResumeBrainComponent |
Pauses and resumes the behavior tree, for cutscenes and scripted moves. |
RestartBrainComponent |
Restarts the behavior tree from the top. |
DestroyController |
Destroys the controller, which Blueprint can't normally do. |
On the creature:
| Function | What it does |
|---|---|
BPSetForcedAggro / BPClearForcedAggro |
Forces it to fight a target for a while, then lets go. |
ForceSetTamedAggressionLevel |
Sets a tame's stance, as the radial menu does. |
SetLimitWildDinoToVolume / SetHardLimitWildDinoToVolume |
Keeps a wild one inside a volume: a real leash. Server only. |
GetSpawnedLocation / GetDistanceToSpawnedLocation |
Where it spawned and how far it has strayed, for your own leash. |
IsFleeing |
True while its controller is fleeing. |
SetTamedFollowTarget |
Makes a tame follow an actor. |
Vanilla examples worth studying
Three controllers side by side, from their own Blueprints:
| Setting | Rex | Raptor | Dodo |
|---|---|---|---|
| Use Overlap Target Check | on | on | off |
| Natural Targeting Range | 6500 | 4000 | 4000 |
| Attack Range | 1200 | 300 | 110 |
| Attack Destination Offset | 850 | 200 | 30 |
| Attack Interval | 0.6 | 0.2 | 0.25 |
| Wander Random Distance Amount | 3000 | 2500 | 600 |
| Has Enemy Tree | DinoAttack_BT |
DinoAttack_BT |
DinoFlee_BT |
| Flee On Critical Health | not set | not set | on |
| Controller | Why it's worth opening | In the database |
|---|---|---|
Dino_AIController_BP |
The base of 586 controllers. Its trees and wander values are the defaults above. | |
Dodo_AIController_BP |
Passive: no target search, flees when hit. | Dodo |
Raptor_AIController_BP |
An aggressive pack hunter with short, fast attacks. | Raptor |
Rex_AIController_BP |
A large aggressive creature with long ranges and a wide call for help. | Rex |
Ptero_AIController_BP |
A flyer: when to take off and land, and its own trees. | Pteranodon |
Megalodon_AIController_BP |
A water creature that won't chase onto land. | Megalodon |
Common mistakes
It attacks from too far away, or never reaches its target
Attack Range and Attack Destination Offset don't fit the body. Scale them to the capsule, and check each attack's own range in the creature's Attack Infos.
My herbivore won't fight back, or my carnivore won't attack
Aggression comes from the controller and the team. Check Use Overlap Target Check, Has Enemy Tree and the creature's Targeting Team Name Override. Swapping in a carnivore's controller and team makes a herbivore fight.
It attacks and turns but never walks
This is usually a copied creature. Reassign the AI controller, or remake it as a child (How to make a custom creature).
My override event never fires
Most controller events need their switch on. Check the Needs column above.
It behaves in PIE but not on a server
AI runs on the server only. Logic you put on the client never reaches it. See Works in PIE, not on a server.
Everything else
All 178 settings of PrimalDinoAIController
Grouped by category. Notes after a name: its type or what it returns, and only the flags that matter (sparse: shared by every actor of the class; read-only in BP; replicated; saved).
AI (87): AboveDeltaZAttackRange float · AggroFactorDamagePercentageMultiplier float · AggroFactorDecreaseGracePeriod float · AggroFactorDecreaseSpeed float · AggroFactorDesirabilityMultiplier float · AggroNotifyNeighborsMultiplier float · AggroNotifyNeighborsRange float · AggroNotifyNeighborsRangeFalloff float · AggroToAddUponAcquiringTarget float, read-only in BP · AggroToAddUponRemovingTarget float · AttackDestinationOffset float · AttackInterval float, read-only in BP · AttackRange float, read-only in BP · AttackRotationGroundSpeedMultiplier float, read-only in BP · AttackRotationRangeDegrees float, read-only in BP · AttackRotationRate FRotator, read-only in BP · BabyHasEnemyTree UBehaviorTree*, read-only in BP · bAllowDinoToTargetShips bool · bAllowForceFleeToSameTargetingTeam bool · bAttackForcesRunning bool · bDontWander bool · BehaviourTree UBehaviorTree*, read-only in BP · BelowDeltaZAttackRange float · BeyondTargetingRangeAggroAddition float · bFleeOnCriticalHealth bool, read-only in BP · bFlyingUseMoveAroundBlockade bool · bFocusOnTargetDuringAttack bool, read-only in BP · bIgnoreMoveAroundBlockade bool, read-only in BP · bIgnoreWaterOrAmphibiousTargets bool · bNotAllowedToFindTargets bool · bNotifyBPTargetSet bool · bNotifyNeighborsWithoutDamage bool · bOnlyForceFleeUnderHealthPercentageIfWild bool · bOnlyOverlapTargetCorpsesUnlessHasTarget bool · bRequireAbsoluteDamageForNeighborNotification bool · bRidingDinoTargetPlayer bool · bRidingPlayerTargetDino bool · bStopMassMovingWithTarget bool, read-only in BP · bTotallyIgnoreWaterTargets bool · bUseAggro bool · bUseBPAdjustTargetingDesireForActorOutOfLimitVolume bool · bUseBPSetupFindTarget bool · bUseBPShouldNotifyAnyNeighbor bool · bUseBPShouldNotifyNeighbor bool · bUseBPTargetingDesire bool · bUseBPUpdateBestTarget bool · bUseFlyingTargetOffsets bool · bUseGeometryInsteadOfStationObjForFreeDepthTest bool, read-only in BP · bUseImprovedAggroFalloffBehavior bool · bUseOverlapTargetCheck bool · bUseOverlapTargetCheckTraces bool · bWildUseDeltaZTargetingForFlyerPawnOrBigDino bool · CorpseAttackDestinationMultiplier float · FleeFromAttackCoolDownTime float · FleeFromAttackTimeLimit float · FleeFromAttackTree UBehaviorTree*, read-only in BP · FlyingWanderFixedDistanceAmount float · FlyingWanderRandomDistanceAmount float · FollowStoppingDistance float · ForcedAggroHasEnemyTree UBehaviorTree*, read-only in BP · ForcedAttackEnemyTeam int32 · ForcedAttackTarget TWeakObjectPtr<AActor> · ForceFleeUnderHealthPercentage float · GroundAttackSpeedOverride float · HasAttackPriority bool · HasEnemyTree UBehaviorTree*, read-only in BP · LastForcedAttackEnemyTeamTime double · MaxFlyingTargetDeltaZ float · MinAggroValue float · MissionTree UBehaviorTree*, read-only in BP · MoveAroundBlockadeAdditionalWidth float, read-only in BP · MoveAroundObjectMaxVelocity float, read-only in BP · NaturalTargetingRange float · NoEnemyTree UBehaviorTree*, read-only in BP · RangeTargetWildDinosMultiplier float · TamedCorpseFoodTargetingRange float · TamedNoEnemyTree UBehaviorTree*, read-only in BP · TamedTargetingRange float · TargetingDistanceReductionFactorExponent float · TargetingDistanceReductionFactorLinear float · WanderFixedDistanceAmount float · WanderFlyingClampZHeightAboveGround float · WanderFlyingMinZHeightAboveGround float · WanderFlyingZScaler float · WanderRandomDistanceAmount float · WildAboveDeltaZTargetingRange float · WildBelowDeltaZTargetingRange float
AI Flying (10): CombatFlyingCorpseTargetingZOffset float · CombatFlyingCrouchProneTargetingZOffset float · CombatFlyingMoveTowardsTargetOffset FVector · FlyingMoveTowardsTargetOffset FVector · FlyingReachedDestinationThresholdOffset float, read-only in BP · FlyingTargetFocalPositionOffset FVector, read-only in BP · SeekingIntervalCheckToFly float · SeekingIntervalCheckToLand float · SeekingPercentChanceToFly float · SeekingPercentChanceToLand float
AIState (1): bCanUseAttackStateOnTargetChange bool
Gameplay (1): bTargetChanged bool
PrimalDinoAIController (77): AggroNotifyNeighborsClasses TArray<TSoftClassPtr<APrimalDinoCharacter>> · AIFlightMaxLandingZDistance float · bAllowSwimWanderingForLandDinos bool · bAlwaysStartledWhenAggroedByNeighbor bool · BaseStructureTargetingDesire float · bCheckBuffTargetingDesireOverride bool · bDisableForceFlee bool · bFlyerAllowWaterTargeting bool · bFlyerWanderDefaultToOrigin bool · bForcedAggro bool · bForceOnlyTargetingPlayerOrTamed bool · bForceOnlyTargetingPlayers bool · bForceTargetDinoRider bool · bForceTargetingAllStructures bool · bIsMissionDino bool · bOnlyTargetShips bool · bUse_BPOverrideLandingLocation bool · bUseAlternateMovePoint bool, read-only in BP · bUseBP_TamedOverrideHorizontalLandingRange bool · bUseBPForceAlternateAttackPoint bool · bUseBPForceTargetDinoRider bool · bUseBPOnSetHasAttackPriority bool · bUseBPOverrideIgnoredByWildDino bool · bUseBPPreventStartle bool · bUseBPWantsAttackPriority bool · bUseCombatMoveTowardsTargetOffset bool · bWaterDinoAllowUnsubmergedTargets bool · DamagedForceAggroInterval float · DieIfLeftWaterReachedRadiusDistanceCheckMultiplier float · DieIfLeftWaterTargetingRequiresFreeDepth float · DieIfLeftWaterTargetUnsubmergedTimeout float · DieIfLeftWaterWanderMinimumWaterHeightMultiplier float · DieIfLeftWaterWanderRequiresCapsuleMultiFreeDepth float · ExtraCorpseTargetingRange float · FindLandingPositionZOffset float · ForceAggroUntilTime double · ForcedAggroTimeCounter float · ForcedFleeDuration float · ForcedMoveToUntilTime double · ForceTargetActor AActor* · HigherTamedTargetingRangeOverride float · LandDinoMaxFlyerTargetDeltaZ float · LandDinoMaxWaterTargetDepthCapsuleMultiplier float · LastBlockadeCheckTime double, read-only in BP · LastBlockadeHitLocation FVector, read-only in BP · LastBlockadeHitNormal FVector, read-only in BP · LastBlockadeWidth float, read-only in BP · LastCheckAttackRangeClosestPoint FVector, read-only in BP · LastCheckAttackRangePawnLocation FVector, read-only in BP · LastCheckAttackRangeTarget AActor*, read-only in BP · LastCheckAttackRangeTargetLocation FVector, read-only in BP · LastExecutedAttackTime double · LastFleeLocCheckTime double · LastForcedFleeTime double · LastMovingAroundBlockadeActor AActor*, read-only in BP · LastMovingAroundBlockadeTime double, read-only in BP · MateBoostAggroNotifyNeighborsMultiplier float · MinAttackIntervalForFleeing float · MinAttackIntervalForFleeing_Water float · MinimumWanderGroundNormalZ float · MinLocChangeIntervalForFleeing float · MovingAroundBlockadeDirection float, read-only in BP · MovingAroundBlockadePoint FVector, read-only in BP · NaturalMaxDepthZ float · NumAlliesToAttack int32 · PercentageTorporForFleeing float · StartMovingAroundBlockadeLocation FVector, read-only in BP · TamedAITargetingRangeMultipliers TArray<float> · TamedFollowAcceptanceHeightOffset float · TamedFollowAcceptanceRadiusOffset float · TamedMaxFollowDistance float · TamedTargetingDesireMultiplierClasses TArray<TSoftClassPtr<AActor>> · TamedTargetingDesireMultiplierValues TArray<float> · Target AActor*, read-only in BP · UseHigherTamedTargetingRangeOverrideUntilTime double · WildTargetingDesireMultiplierClasses TArray<TSoftClassPtr<AActor>> · WildTargetingDesireMultiplierValues TArray<float>
Other (2): bDeferredTickMode bool · IgnoredTargets TSet<TWeakObjectPtr<AActor>>
All 79 Blueprint functions and events of PrimalDinoAIController
Grouped by category. Notes after a name: its type or what it returns, and only the flags that matter (sparse: shared by every actor of the class; read-only in BP; replicated; saved).
AI (55): AddToAggro(Attacker, DamagePercent, bNotifyNeighbors, SetValue, bIsFromDamage, skipTeamCheck) · AvoidGenericToPoint(TargetDestination) · AvoidOutOfWater · BP_TamedOverrideHorizontalLandingRange → FVector2D, event · BPAdjustTargetingDesireForActorOutOfLimitVolume(ForActor, InTargetingDesire) → float, event · BPForceAlternateAttackPoint(NewAlternativeAttackPoint) → bool, event · BPNotifyTargetSet event · BPOnSetHasAttackPriority(Value) event · BPOverrideLandingLocation(outRadius) → FVector, event · BPPreventAddAggroOnTakeDamage(DamageCauser) → bool, event · BPPreventStartle(Attacker) → bool, event · BPSetupFindTarget event · BPShouldNotifyAnyNeighbor(neighbor) → bool, event · BPShouldNotifyNeighbor(neighbor) → bool, event · BPUpdateBestTarget(bestTarget, dontSetIn, dontSetOut) → AActor*, event · BPWantsAttackPriority → bool, event · CalculateAndSetWonderingAIState(StateChanged) → bool · CanLand → bool · ClearAggroEntries · FindNewTarget(bDontSet) → AActor* · FindTarget(bDontSet) → AActor* · GetAggroDesirability(InTarget) → float · GetAggroLastHitTime(InTarget) → float · GetAttackInterval → float · GetAttackRange → float · GetAttackRotationGroundSpeedMultiplier → float · GetAttackRotationRangeDegrees → float · GetAttackRotationRate → FRotator · GetControlledDino → APrimalDinoCharacter* · GetCurrentAttackIndex → uint8 · GetHasAttackPriority → bool · GetLandingLocation → FVector · GetMinAttackRange → float · GetNavigationTargetPoint → FVector · GetRandomWanderDestination(LocOverride, RandomOffsetMultiplier, bUseRandomNegativeXDir, bOrientRandOffsetByRotation, OrientRandOffsetByRotation) → FVector · GetTarget → AActor* · GetWanderRandomWaitTime(MinWait, MaxWait, bScaleWithPlayerHeat) → float · IsForceTargetDinoRider(playerTarget) → bool · IsWithinAttackRange(Other, bForceUseLastAttackIndex) → bool · IsWithinAttackRangeAndCalculateBestAttack(Other, bAttackChanged) → bool · PlayStartledAnim · RemoveFromAggro(Attacker) · ResetAccelerationFollowsRotation · ResetGroundSpeed · ResetRotationRate · ResetRotationUseAcceleration · SetAttackGroundSpeed · SetAttackRotationRate · SetHasAttackPriority(Value) · SetTarget(InTarget, bDontAddAggro, bOverlapFoundTarget) · ShouldForceRunWhenAttacking → bool · StaticFindRandomWanderDestinationAroundPoint(TargetCharacter, TargetAIController, DestinationPoint, RandomOffsetMultiplier, GroundCheckSpreadOverride) → FVector · StaticGetRandomWanderDestination(TargetCharacter, TargetAIController, LocOverride, RandomOffsetMultiplier, bUseRandomNegativeXDir, bOrientRandOffsetByRotation, OrientRandOffsetByRotation, GroundCheckSpreadOverride, bUseLocOverrideForAllTraces, bDontUseFollowTarget) → FVector · UpdateAggro · UpdateMoveFocus
AIController (1): GetClosestTree(OutHit) → UStaticMeshComponent*
BrainComponent (6): IsLogicPaused → bool · PauseBrainComponent(reason) · RebootBrainComponent · RestartBrainComponent · ResumeBrainComponent(reason) · StopBrainComponent(reason)
Events (2): CalculateAndSetWonderingAIStateEvent(StateChanged) → bool, event · OnLosingTargetEvent event
Gameplay (3): GetAggroEntriesAttackerAtIndex(Index) → AActor* · GetAggroEntriesCount → int32 · GetAggroEntry(Index, OutAttacker, OutAggroFactor, OutLastAggroHitTime) → bool
Pawn (1): GetControllerPawn → APawn*
Other (11): BPForceTargetDinoRider(playerTarget) → bool, event · BPGetTargetingDesire(ForTarget, ForTargetingDesireValue) → float, event · BPOnFleeEvent event · BPOverrideIgnoredByWildDino(wildDinoToIgnore) → bool, event · BPSetLastCharacterTargetTeam(NewTeam) · ChangedAITarget(OldTarget) event · DestroyController · GetAggroNotifyNeighborsRange → float, event · GetWanderAroundActorDestination(dinoCharacter, originalDestination) → FVector · OrderedToLand → bool · WantsAttackPriority → bool
Sources
- DevKit files, read offline on 2026-11-05: Settings, types, flags and Blueprint functions come from the
DevKit's game code for
PrimalDinoAIController, plus the targeting and fleeing settings onPrimalDinoCharacterandPrimalCharacter. Defaults come fromDino_AIController_BP. The Rex, Raptor, Dodo, Pteranodon and Megalodon values come from their own controllers in/Game/PrimalEarth/Dinos/. - The editor's own tooltips, paraphrased where they exist.
- What the video tutorials teach §7: swapping controllers between carnivores and herbivores, from creators' tutorials.
- What modders report, collected in How to make a custom creature: copied creatures that don't walk until the controller is reassigned (2024 to 2026).
Where this page's information comes from
Applies to: ASA DevKit as of November 2026 (UE 5.8.1); ASE where noted
the DevKit's game code and official AI controllers (see Sources)