Inherits TaleWorlds.MountAndBlade.AgentComponent, and TaleWorlds.MountAndBlade.IFocusable.
|
| | CoverAnimalAgentComponent (Agent agent) |
| |
| void | SetDynamicPatrolArea (GameEntity parentPatrolPoint) |
| |
| void | StartMovement () |
| |
| override void | OnTick (float dt) |
| |
| bool | IsTargetReached () |
| |
| void | SetTargetFrame (WorldPosition position, float rotation, float rangeThreshold=1.0f, Agent.AIScriptedFrameFlags flags=Agent.AIScriptedFrameFlags.None) |
| |
| void | OnFocusGain (Agent userAgent) |
| |
| void | OnFocusLose (Agent userAgent) |
| |
| TextObject | GetInfoTextForBeingNotInteractable (Agent userAgent) |
| |
| TextObject | GetDescriptionText (WeakGameEntity gameEntity) |
| |
Public Member Functions inherited from TaleWorlds.MountAndBlade.AgentComponent |
| virtual void | Initialize () |
| |
| virtual void | OnTickParallel (float dt) |
| |
| virtual float | GetMoraleAddition () |
| |
| virtual float | GetMoraleDecreaseConstant () |
| |
| virtual void | OnItemPickup (SpawnedItemEntity item) |
| |
| virtual void | OnWeaponDrop (MissionWeapon droppedWeapon) |
| |
| virtual void | OnStopUsingGameObject () |
| |
| virtual void | OnWeaponHPChanged (TaleWorlds.Core.ItemObject item, int hitPoints) |
| |
| virtual void | OnRetreating () |
| |
| virtual void | OnMount (Agent mount) |
| |
| virtual void | OnDismount (Agent mount) |
| |
| virtual void | OnHit (Agent affectorAgent, int damage, in MissionWeapon affectorWeapon, in Blow b, in AttackCollisionData collisionData) |
| |
| virtual void | OnDisciplineChanged () |
| |
| virtual void | OnAgentRemoved () |
| |
| virtual void | OnAgentTeleported () |
| |
| virtual void | OnAIInputSet (ref Agent.EventControlFlag eventFlag, ref Agent.MovementControlFlag movementFlag, ref Vec2 inputVector) |
| |
| virtual void | OnComponentRemoved () |
| | Only called if component is manually removed without removing the owner Agent during the mission.
|
| |
| virtual void | OnFormationSet () |
| |
◆ CoverAnimalAgentComponent()
| SandBox.Missions.CoverAnimalAgentComponent.CoverAnimalAgentComponent |
( |
Agent | agent | ) |
|
◆ SetDynamicPatrolArea()
| void SandBox.Missions.CoverAnimalAgentComponent.SetDynamicPatrolArea |
( |
GameEntity | parentPatrolPoint | ) |
|
◆ StartMovement()
| void SandBox.Missions.CoverAnimalAgentComponent.StartMovement |
( |
| ) |
|
◆ OnTick()
| override void SandBox.Missions.CoverAnimalAgentComponent.OnTick |
( |
float | dt | ) |
|
|
virtual |
◆ IsTargetReached()
| bool SandBox.Missions.CoverAnimalAgentComponent.IsTargetReached |
( |
| ) |
|
◆ SetTargetFrame()
| void SandBox.Missions.CoverAnimalAgentComponent.SetTargetFrame |
( |
WorldPosition | position, |
|
|
float | rotation, |
|
|
float | rangeThreshold = 1::0f, |
|
|
Agent.AIScriptedFrameFlags | flags = Agent::AIScriptedFrameFlags::None ) |
◆ OnFocusGain()
| void SandBox.Missions.CoverAnimalAgentComponent.OnFocusGain |
( |
Agent | userAgent | ) |
|
◆ OnFocusLose()
| void SandBox.Missions.CoverAnimalAgentComponent.OnFocusLose |
( |
Agent | userAgent | ) |
|
◆ GetInfoTextForBeingNotInteractable()
| TextObject SandBox.Missions.CoverAnimalAgentComponent.GetInfoTextForBeingNotInteractable |
( |
Agent | userAgent | ) |
|
◆ GetDescriptionText()
◆ IsMovementStarted
| bool SandBox.Missions.CoverAnimalAgentComponent.IsMovementStarted |
|
get |
◆ IsAtFinalPoint
| bool SandBox.Missions.CoverAnimalAgentComponent.IsAtFinalPoint |
|
get |
◆ FocusableObjectType
◆ IsFocusable
| virtual bool SandBox.Missions.CoverAnimalAgentComponent.IsFocusable |
|
get |