Skip to content

@temporary-escape/mod-sdk / BehaviorParam

Enumeration: BehaviorParam ​

Defined in: behaviors.ts:9

Per-NPC tunables exposed by the built-in ship brain. Mirrors Engine::AI::BehaviorParam (src/Engine/AI/BehaviorParam.hpp); values are stable and persisted by name — append, never renumber.

Set them after Entity.addAgent() with the typed setters: entity.setAgentParamF32(BehaviorParam.DetectionRange, 8000).

Enumeration Members ​

Enumeration MemberValueDefined in
CombatRole5behaviors.ts:15
DetectionRange1behaviors.ts:11
FleeDistance2behaviors.ts:12
HealthThreshold0behaviors.ts:10
PatrolRadius3behaviors.ts:13
RetargetCooldown4behaviors.ts:14