M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
SandBox.Objects.StealthZone Class Reference

Public Member Functions

delegate void StealthZoneEvent ()
 
 StealthZone (Agent targetAgent, bool useVolumeBox)
 
void SetStealthAgents (List< Agent > agents)
 
void Tick ()
 
void OnAgentRemoved (Agent affectedAgent, Agent affectorAgent)
 
bool IsAgentInside (Agent agent)
 
void OnPlayerFlees ()
 
void ResetEvents ()
 
void DisableAll ()
 

Public Attributes

bool IsZoneUsable = false
 
StealthZoneEvent OnTargetFlees
 
StealthZoneEvent OnTargetEliminated
 
StealthZoneEvent OnTargetInZone
 
Agent TargetAgent
 

Static Public Attributes

const string VolumeBoxId = "stealth_zone_volume"
 

Properties

bool AreAgentsActive [get]
 
bool UseVolumeBox [get]
 
int EliminatedAgents [get]
 
List< AgentAgents [get]
 
VolumeBox VolumeBox [get]
 

Events

Action OnActivated
 
Action OnDisactivated
 

Constructor & Destructor Documentation

◆ StealthZone()

SandBox.Objects.StealthZone.StealthZone ( Agent targetAgent,
bool useVolumeBox )

Member Function Documentation

◆ StealthZoneEvent()

delegate void SandBox.Objects.StealthZone.StealthZoneEvent ( )

◆ SetStealthAgents()

void SandBox.Objects.StealthZone.SetStealthAgents ( List< Agent > agents)

◆ Tick()

void SandBox.Objects.StealthZone.Tick ( )

◆ OnAgentRemoved()

void SandBox.Objects.StealthZone.OnAgentRemoved ( Agent affectedAgent,
Agent affectorAgent )

◆ IsAgentInside()

bool SandBox.Objects.StealthZone.IsAgentInside ( Agent agent)

◆ OnPlayerFlees()

void SandBox.Objects.StealthZone.OnPlayerFlees ( )

◆ ResetEvents()

void SandBox.Objects.StealthZone.ResetEvents ( )

◆ DisableAll()

void SandBox.Objects.StealthZone.DisableAll ( )

Member Data Documentation

◆ VolumeBoxId

const string SandBox.Objects.StealthZone.VolumeBoxId = "stealth_zone_volume"
static

◆ IsZoneUsable

bool SandBox.Objects.StealthZone.IsZoneUsable = false

◆ OnTargetFlees

StealthZoneEvent SandBox.Objects.StealthZone.OnTargetFlees

◆ OnTargetEliminated

StealthZoneEvent SandBox.Objects.StealthZone.OnTargetEliminated

◆ OnTargetInZone

StealthZoneEvent SandBox.Objects.StealthZone.OnTargetInZone

◆ TargetAgent

Agent SandBox.Objects.StealthZone.TargetAgent

Property Documentation

◆ AreAgentsActive

bool SandBox.Objects.StealthZone.AreAgentsActive
get

◆ UseVolumeBox

bool SandBox.Objects.StealthZone.UseVolumeBox
get

◆ EliminatedAgents

int SandBox.Objects.StealthZone.EliminatedAgents
get

◆ Agents

List<Agent> SandBox.Objects.StealthZone.Agents
get

◆ VolumeBox

VolumeBox SandBox.Objects.StealthZone.VolumeBox
get

Event Documentation

◆ OnActivated

Action SandBox.Objects.StealthZone.OnActivated

◆ OnDisactivated

Action SandBox.Objects.StealthZone.OnDisactivated