Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CampaignBuildingAreaMeshComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/Area Mesh", description: "")]
5
6class SCR_CampaignBuildingAreaMeshComponent : SCR_TriggerAreaMeshComponent
7{
8 [Attribute("10")]
9 protected float m_fBufferZone;
10
11 [Attribute("false")]
12 protected bool m_bShouldEnableFrameUpdateDuringEditor;
13
14 //------------------------------------------------------------------------------------------------
15 protected float GetBufferZone()
16 {
17 return m_fBufferZone;
18 }
19
20 //------------------------------------------------------------------------------------------------
21 override float GetRadius()
22 {
23 BaseGameTriggerEntity trigger = BaseGameTriggerEntity.Cast(GetOwner());
24 if (!trigger)
25 return 0;
26
27 return trigger.GetSphereRadius() + GetBufferZone();
28 }
29
30 //------------------------------------------------------------------------------------------------
34 {
35 m_bShouldEnableFrameUpdateDuringEditor = val;
36 }
37
38 //------------------------------------------------------------------------------------------------
42 {
43 return m_bShouldEnableFrameUpdateDuringEditor;
44 }
45}
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
void EnableFrameUpdateDuringEditor(bool val)
bool ShouldEnableFrameUpdateDuringEditor()
IEntity GetOwner()
Owner entity of the fuel tank.
SCR_FieldOfViewSettings Attribute