Arma Reforger Script API
|
Link which creates replicated entity. More...
Public Member Functions | |
ScriptInvoker | GetOnLinkedEntitiesSpawned () |
bool | IsSpawningIgnored () |
bool | IsSpawned () |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
void | SpawnComposition () |
Static Public Member Functions | |
static void | IgnoreSpawning (bool ignore) |
Ignore spawning entity links in the next spawned prefab with this component. | |
static bool | IsSpawned (SCR_EditableEntityComponent entity) |
Check if linked children of editable entity were spawned. | |
Protected Attributes | |
bool | m_bIsSpawned |
ref ScriptInvoker | m_OnLinkedEntitiesSpawned |
Static Protected Attributes | |
static bool | s_bIgnoreSpawning |
Link which creates replicated entity.
To be use in composition prefabs which cannot contain nested replicated entities;
override void SCR_EditorLinkComponent.EOnInit | ( | IEntity | owner | ) |
ScriptInvoker SCR_EditorLinkComponent.GetOnLinkedEntitiesSpawned | ( | ) |
|
static |
Ignore spawning entity links in the next spawned prefab with this component.
Used when some other system handles spawning independently. Has to be set before spawning the prefab, is reset to false afterwards.
ignore | True to ignore spawning |
bool SCR_EditorLinkComponent.IsSpawned | ( | ) |
|
static |
Check if linked children of editable entity were spawned.
entity | Editable entity |
bool SCR_EditorLinkComponent.IsSpawningIgnored | ( | ) |
override void SCR_EditorLinkComponent.OnPostInit | ( | IEntity | owner | ) |
void SCR_EditorLinkComponent.SpawnComposition | ( | ) |
|
protected |
|
protected |
|
staticprotected |