|
Arma Reforger Script API
|
Specifies slot to be used with nearby Entity Spawner Components. More...
Public Member Functions | |
| 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 Member Functions | |
| 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 () |
Protected Attributes | |
| 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< ChimeraCharacter > | m_aCharacterArray |
| ref array< IEntity > | m_aExcludedEntities |
Specifies slot to be used with nearby Entity Spawner Components.
| void SCR_EntitySpawnerSlotComponent.~SCR_EntitySpawnerSlotComponent | ( | ) |
| override void SCR_EntitySpawnerSlotComponent._WB_AfterWorldUpdate | ( | IEntity | owner, |
| float | timeSlice ) |
| override int SCR_EntitySpawnerSlotComponent._WB_GetAfterWorldUpdateSpecs | ( | IEntity | owner, |
| IEntitySource | src ) |
|
protected |
Callback used in GetCharacterInSlot for query.
Adds living ChimeraCharacters into array.
| [in] | ent |
|
protected |
| override void SCR_EntitySpawnerSlotComponent.EOnFrame | ( | IEntity | owner, |
| float | timeSlice ) |
| override void SCR_EntitySpawnerSlotComponent.EOnInit | ( | IEntity | owner | ) |
|
protected |
|
protected |
Filtering used in GetCharacterInSlot for query.
| int SCR_EntitySpawnerSlotComponent.GetCharactersInSlot | ( | out array< ChimeraCharacter > | characterArray | ) |
Get all ChimeraCharacters in slot.
Returns count.
| [in] | characterArray | outs array containing all ChimeraCharacters in slot |
| SCR_EntityLabelPointComponent SCR_EntitySpawnerSlotComponent.GetRallyPoint | ( | ) |
Get Assigned Rally point.
If there is none, Slot will try to find new one.
| SCR_EEntitySpawnerSlotType SCR_EntitySpawnerSlotComponent.GetSlotType | ( | ) |
|
protected |
| bool SCR_EntitySpawnerSlotComponent.IsEntityLabelInRange | ( | notnull SCR_EntityLabelPointComponent | labelComp | ) |
Returns true, if SCR_EntityLabelPointComponent is in range defined by m_fMaxRallyPointDistance.
| [in] | labelComp |
| bool SCR_EntitySpawnerSlotComponent.IsOccupied | ( | ) |
Returns true, if slot is occupied.
| void SCR_EntitySpawnerSlotComponent.MoveCharactersFromSlot | ( | ) |
Moves away all characters from slot, if there is suitable empty position in vicinity.
| override void SCR_EntitySpawnerSlotComponent.OnPostInit | ( | IEntity | owner | ) |
|
protected |
Called when Rally Point gets moved.
|
protected |
Callback for Query in GetRallyPoint. Returns false, once SCR_EntityLabelPointComponent matching parameters was found (And thus ending query)
| void SCR_EntitySpawnerSlotComponent.SetRallyPoint | ( | notnull SCR_EntityLabelPointComponent | labelComp | ) |
Assign labelComponent to be used as Rally Point.
If component owner isn't in range, Rally point won't be assigned
| [in] | labelComp |
|
protected |
Callback for TracePosition in IsOccupied.
Can be overridden to implement custom conditions for checks in traces
| [in] | ent |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |