|
void | SpawnRandomObject (notnull array< string > aObjectsNames) |
|
void | SpawnRandomMultipleObjects (notnull array< string > aObjectsNames) |
|
override void | OnActivate (IEntity object) |
|
void | Init (IEntity entity) |
| Initializes entity, sets OnActivate and OnDeactivate event handlers for SCR_BaseTriggerEntity.
|
|
bool | CanActivate () |
| Checks if action can be activated, handles maximum activation limit, increments activation count if possible.
|
|
bool | ValidateInputEntity (IEntity object, SCR_ScenarioFrameworkGet getter, out IEntity entity) |
| Validates input entity for ScenarioFramework Action, checks if it's from layer or getter, returns true if valid.
|
|
void | OnActivate (IEntity object) |
|
array< ref SCR_ScenarioFrameworkActionBase > | GetSubActions () |
|
void | RestoreToDefault () |
| Restores default settings for action and resets number of activations.
|
|
void | SpawnObjects (notnull array< string > aObjectsNames, SCR_ScenarioFrameworkEActivationType eActivationType) |
| Spawns objects from an array, checks for existence, activation type, and initializes them with specified activation type.
|
|
◆ OnActivate()
override void SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.OnActivate |
( |
IEntity |
object | ) |
|
◆ SpawnRandomMultipleObjects()
void SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.SpawnRandomMultipleObjects |
( |
notnull array< string > |
aObjectsNames | ) |
|
◆ SpawnRandomObject()
void SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.SpawnRandomObject |
( |
notnull array< string > |
aObjectsNames | ) |
|
◆ m_aListOfObjects
ref array<string> SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_aListOfObjects |
◆ m_eActivationType
SCR_ScenarioFrameworkEActivationType SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_eActivationType |
◆ m_Getter
◆ m_iMaxDistance
int SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_iMaxDistance |
◆ m_iMinDistance
int SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_iMinDistance |
◆ m_iRandomPercent
int SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_iRandomPercent |
◆ m_SpawnObjects
SCR_EScenarioFrameworkSpawnChildrenType SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.m_SpawnObjects |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/Actions/SCR_ScenarioFrameworkActionSpawnObjectBasedOnDistance.c