M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
Public Member Functions | |
AlarmedBehaviorGroup (AgentNavigator navigator, Mission mission) | |
override void | Tick (float dt, bool isSimulation) |
override float | GetScore (bool isSimulation) |
Agent | GetClosestAlarmSource (out float distanceSquared) |
override void | ForceThink (float inSeconds) |
Public Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup | |
T | AddBehavior< T > () |
T | GetBehavior< T > () |
bool | HasBehavior< T > () |
void | RemoveBehavior< T > () |
void | SetScriptedBehavior< T > () |
void | DisableScriptedBehavior () |
void | DisableAllBehaviors () |
AgentBehavior | GetActiveBehavior () |
virtual void | Tick (float dt, bool isSimulation) |
virtual void | ConversationTick () |
virtual void | OnAgentRemoved (Agent agent) |
virtual float | GetScore (bool isSimulation) |
virtual void | ForceThink (float inSeconds) |
Static Public Member Functions | |
static void | AlarmAgent (Agent agent) |
Public Attributes | |
bool | DisableCalmDown = false |
Public Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup | |
AgentNavigator | Navigator |
List< AgentBehavior > | Behaviors |
Static Public Attributes | |
const float | SafetyDistance = 15 |
const float | SafetyDistanceSquared = SafetyDistance * SafetyDistance |
Protected Member Functions | |
override void | OnActivate () |
override void | OnDeactivate () |
Protected Member Functions inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup | |
AgentBehaviorGroup (AgentNavigator navigator, Mission mission) | |
virtual void | OnActivate () |
virtual void | OnDeactivate () |
Additional Inherited Members | |
Protected Attributes inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup | |
float | CheckBehaviorTime = 5.0f |
Timer | CheckBehaviorTimer |
Properties inherited from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup | |
Agent | OwnerAgent [get] |
AgentBehavior | ScriptedBehavior [get] |
bool | IsActive [get, set] |
Mission | Mission [get] |
SandBox.Missions.AgentBehaviors.AlarmedBehaviorGroup.AlarmedBehaviorGroup | ( | AgentNavigator | navigator, |
Mission | mission | ||
) |
|
virtual |
Reimplemented from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
|
virtual |
Reimplemented from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
Agent SandBox.Missions.AgentBehaviors.AlarmedBehaviorGroup.GetClosestAlarmSource | ( | out float | distanceSquared | ) |
|
static |
|
protectedvirtual |
Reimplemented from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
|
protectedvirtual |
Reimplemented from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
|
virtual |
Reimplemented from SandBox.Missions.AgentBehaviors.AgentBehaviorGroup.
|
static |
|
static |
bool SandBox.Missions.AgentBehaviors.AlarmedBehaviorGroup.DisableCalmDown = false |