Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_EntitySpawnerCharacterSlotComponent Interface Reference

Specifies slot to be used with nearby Entity Spawner Components. More...

Inheritance diagram for SCR_EntitySpawnerCharacterSlotComponent:
SCR_EntitySpawnerSlotComponent

Public Member Functions

ResourceName GetDefaultWaypointPrefab ()
 
vector GetDefaultWaypointPosition ()
 
- Public Member Functions inherited from SCR_EntitySpawnerSlotComponent
bool IsEntityLabelInRange (notnull SCR_EntityLabelPointComponent labelComp)
 Returns true, if SCR_EntityLabelPointComponent is in range defined by m_fMaxRallyPointDistance.
 
void SetRallyPoint (notnull SCR_EntityLabelPointComponent labelComp)
 Assign labelComponent to be used as Rally Point.
 
SCR_EntityLabelPointComponent GetRallyPoint ()
 Get Assigned Rally point.
 
SCR_EEntitySpawnerSlotType GetSlotType ()
 
bool IsOccupied ()
 Returns true, if slot is occupied.
 
void MoveCharactersFromSlot ()
 Moves away all characters from slot, if there is suitable empty position in vicinity.
 
int GetCharactersInSlot (out array< ChimeraCharacter > characterArray)
 Get all ChimeraCharacters in slot.
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 
void ~SCR_EntitySpawnerSlotComponent ()
 
override void EOnFrame (IEntity owner, float timeSlice)
 
override int _WB_GetAfterWorldUpdateSpecs (IEntity owner, IEntitySource src)
 
override void _WB_AfterWorldUpdate (IEntity owner, float timeSlice)
 

Protected Attributes

ResourceName m_sDefaultWaypointPrefab
 
vector m_vDefaultWaypointPosition
 
- Protected Attributes inherited from SCR_EntitySpawnerSlotComponent
bool m_bShowDebugShape
 
ref Shape m_DebugShape
 
int m_iDebugShapeColor = Color.CYAN
 
RplComponent m_RplComponent
 
SCR_SpawnerSlotManager m_SlotManager
 
SCR_EntityLabelPointComponent m_RallyPointLabelComponent
 
ref array< ChimeraCharacterm_aCharacterArray
 
ref array< IEntity > m_aExcludedEntities
 

Additional Inherited Members

- Protected Member Functions inherited from SCR_EntitySpawnerSlotComponent
void FillExcludedEntities ()
 
bool CharacterFoundCallback (IEntity ent)
 Callback used in GetCharacterInSlot for query.
 
bool FilterCharactersCallback (IEntity ent)
 Filtering used in GetCharacterInSlot for query.
 
bool TraceCallback (IEntity ent)
 Callback for TracePosition in IsOccupied.
 
bool IsEntityDestroyed (IEntity entity)
 
void OnRallyPointUpdated ()
 Called when Rally Point gets moved.
 
bool RallyPointSearchCallback (IEntity ent)
 Callback for Query in GetRallyPoint. Returns false, once SCR_EntityLabelPointComponent matching parameters was found (And thus ending query)
 
void DrawDebugShape ()
 

Detailed Description

Specifies slot to be used with nearby Entity Spawner Components.

Member Function Documentation

◆ GetDefaultWaypointPosition()

vector SCR_EntitySpawnerCharacterSlotComponent.GetDefaultWaypointPosition ( )
Returns

◆ GetDefaultWaypointPrefab()

ResourceName SCR_EntitySpawnerCharacterSlotComponent.GetDefaultWaypointPrefab ( )
Returns

Member Data Documentation

◆ m_sDefaultWaypointPrefab

ResourceName SCR_EntitySpawnerCharacterSlotComponent.m_sDefaultWaypointPrefab
protected

◆ m_vDefaultWaypointPosition

vector SCR_EntitySpawnerCharacterSlotComponent.m_vDefaultWaypointPosition
protected

The documentation for this interface was generated from the following file: