Arma Reforger Script API
|
Public Member Functions | |
override void | Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT) |
Public Member Functions inherited from SCR_ScenarioFrameworkLayerBase | |
string | GetName () |
void | SetEntity (IEntity entity) |
bool | GetIsTerminated () |
void | SetIsTerminated (bool state) |
void | SetRandomlySpawnedChildren (array< string > randomlySpawnedChildren) |
array< SCR_ScenarioFrameworkLayerBase > | GetRandomlySpawnedChildren () |
int | GetPlayersCount (FactionKey factionName="") |
int | GetMaxPlayersForGameMode (FactionKey factionName="") |
SCR_ScenarioFrameworkArea | GetParentArea () |
Get parent area the object is nested into. | |
SCR_ScenarioFrameworkLayerTask | GetLayerTask () |
Get layer task the object is nested into if there is some. | |
SCR_ScenarioFrameworkSlotTask | GetSlotTask (array< SCR_ScenarioFrameworkLayerBase > aLayers) |
Get SlotTask from array of LayerBases if there is any. | |
void | SetParentLayer (SCR_ScenarioFrameworkLayerBase parentLayer) |
SCR_ScenarioFrameworkLayerBase | GetParentLayer () |
SCR_EScenarioFrameworkSpawnChildrenType | GetSpawnChildrenType () |
bool | GetEnableRepeatedSpawn () |
void | SetEnableRepeatedSpawn (bool value) |
SCR_ScenarioFrameworkEActivationType | GetActivationType () |
void | SetActivationType (SCR_ScenarioFrameworkEActivationType activationType) |
bool | GetIsInitiated () |
bool | GetDynamicDespawnExcluded () |
void | SetDynamicDespawnExcluded (bool excluded) |
array< IEntity > | GetSpawnedEntities () |
array< SCR_ScenarioFrameworkLayerBase > | GetChildrenEntities () |
SCR_ScenarioFrameworkLayerBase | GetRandomChildren () |
Returns the random Slot. | |
void | GetChildren (out array< SCR_ScenarioFrameworkLayerBase > children) |
Goes through the hierarchy and returns all the child entities of LayerBase type. | |
void | GetLogics (out array< SCR_ScenarioFrameworkLogic > logics) |
array< SCR_ScenarioFrameworkLogic > | GetSpawnedLogics () |
array< ref SCR_ScenarioFrameworkPlugin > | GetSpawnedPlugins () |
int | GetRepeatedSpawnNumber () |
void | SetRepeatedSpawnNumber (int number) |
ScriptInvokerScenarioFrameworkLayer | GetOnAllChildrenSpawned () |
void | InvokeAllChildrenSpawned () |
void | CheckAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer=null) |
void | SpawnChildren (bool previouslyRandomized=false) |
void | SpawnPreviouslyRandomizedChildren () |
void | SpawnRandomOneChild (bool previouslyRandomized=false) |
void | SpawnRandomMultipleChildren (bool previouslyRandomized=false) |
void | InitChild (SCR_ScenarioFrameworkLayerBase child) |
IEntity | GetSpawnedEntity () |
void | RestoreToDefault (bool includeChildren=false, bool reinitAfterRestoration=false) |
void | DynamicDespawn (SCR_ScenarioFrameworkLayerBase layer) |
void | DynamicReinit () |
bool | InitAlreadyHappened () |
bool | InitParentLayer () |
bool | InitNotTerminated () |
bool | InitDynDespawnAndActivation (SCR_ScenarioFrameworkEActivationType activation) |
bool | InitActivationConditions () |
bool | InitArea (SCR_ScenarioFrameworkArea area) |
void | InitFactionSettings () |
Handles inheritance of faction settings from parents. | |
bool | InitOtherThings () |
For situations where some other logic is to be appended in these checks and is to be performed before FinishInit. | |
void | FinishInitChildrenInsert () |
For situations where some other logic is needed to be performed before or after this Insert. | |
void | FinishInit () |
void | Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT) |
void | AfterAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer) |
override void | EOnFrame (IEntity owner, float timeSlice) |
override void | OnPostInit (IEntity owner) |
void | SetDebugShapeSize (float fSize) |
override void | _WB_OnCreate (IEntity owner, IEntitySource src) |
void | RenameOwnerEntity (IEntity owner) |
void | SCR_ScenarioFrameworkLayerBase (IEntityComponentSource src, IEntity ent, IEntity parent) |
void | ~SCR_ScenarioFrameworkLayerBase () |
Protected Attributes | |
string | m_sIDMaster |
override void SCR_ScenarioFrameworkInventoryLoader.Init | ( | SCR_ScenarioFrameworkArea | area = null , |
SCR_ScenarioFrameworkEActivationType | activation = SCR_ScenarioFrameworkEActivationType::SAME_AS_PARENT |
||
) |
[in] | area | |
[in] | activation |
Implements SCR_ScenarioFrameworkLayerBase.
|
protected |