![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_CampaignBuildingLayoutComponentClass |
|
protected |
| [in] | value |
Definition at line 343 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Create a danger event for AI to clear the area where the composition is about to spawn.
Definition at line 455 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 309 of file SCR_CampaignBuildingLayoutComponent.c.
| void EvaluateBuildingStatus | ( | int | currentBuildValue | ) |
| [in] | currentBuildValue |
Definition at line 127 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 182 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Search for an editor mode entity (exists only when the player is in editor mode)
Definition at line 391 of file SCR_CampaignBuildingLayoutComponent.c.
Get the building value that defines how long it takes to build a composition (based on the tool, number of people building it etc.)
| [in] | prefabID |
Definition at line 151 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
| [in] | prefabID |
Definition at line 172 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 383 of file SCR_CampaignBuildingLayoutComponent.c.
| ScriptInvokerInt GetOnAddBuildingValueInt | ( | ) |
Definition at line 60 of file SCR_CampaignBuildingLayoutComponent.c.
| ScriptInvokerVoid GetOnAddBuildingValueVoid | ( | ) |
Definition at line 70 of file SCR_CampaignBuildingLayoutComponent.c.
| ScriptInvokerVoid GetOnCompositionIdSet | ( | ) |
Definition at line 80 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 209 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 376 of file SCR_CampaignBuildingLayoutComponent.c.
| bool HasBuildingPreview | ( | ) |
Definition at line 119 of file SCR_CampaignBuildingLayoutComponent.c.
| bool IsLayoutInBuildingRange | ( | notnull SCR_EditorModeEntity | editorModeEntity | ) |
Is this layout in building radius of the provider
| [in] | editorModeEntity |
Definition at line 104 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Once someone for the 1st time add a value to build a composition, set the lock at this composition to disallow any manipulation (deleting, moving) with this composition until it's fully build.
Definition at line 407 of file SCR_CampaignBuildingLayoutComponent.c.
Definition at line 441 of file SCR_CampaignBuildingLayoutComponent.c.
| void OnEditorModeChanged | ( | SCR_EditorModeEntity | currentModeEntity, |
| SCR_EditorModeEntity | prevModeEntity ) |
Event called when the editor mode changed to delete the composition preview.
| [in] | currentModeEntity | |
| [in] | prevModeEntity |
Definition at line 92 of file SCR_CampaignBuildingLayoutComponent.c.
| SCR_CampaignBuildingLayoutComponentClass ScriptComponentClass RplProp | ( | onRplName:"SpawnPreviewIfBuildingModeOpened" | ) |
Definition at line 1 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
| [in] | newValue |
Definition at line 360 of file SCR_CampaignBuildingLayoutComponent.c.
| bool SetOnEditorOpenEvent | ( | ) |
Set the event on editor mode opening.
Definition at line 45 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Save prefab ID of the composition, which is used by a Free Roam mode to know what composition this preview represents.
| [in] | prefabId |
Definition at line 194 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 422 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Spawn the composition belonging to this layout.
Definition at line 216 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Create a preview if it does not exist.
Definition at line 246 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Spawn the composition preview if the building mode is active (open).
Definition at line 297 of file SCR_CampaignBuildingLayoutComponent.c.
|
protected |
Definition at line 470 of file SCR_CampaignBuildingLayoutComponent.c.