User Tools

Site Tools


api:comp_building_part

COMP_BUILDING_PART

Category: Component

Parent class: COMP_ABSTRACT_BUILDABLE

Properties


BuildingPartType

Serialized

  • Expected: enum value
  • Default value: ATTACH_NODE_TYPE.MAJOR

AttachNodes

Serialized


FeedbackComponentListToActivate

Serialized

  • Type: list<COMPONENT>
  • Expected: list of COMPONENT values

ConstructionVisual

Serialized

  • Type: PREFAB
  • Expected: asset ID
  • Default value: nil

IsAlwaysGrounded

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

GroundToHighestZonePoint

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

PathList

Serialized

  • Type: list<BUILDING_PATH>
  • Expected: list of BUILDING_PATH values

Functions


getIsPreview

boolean getIsPreview()


getIsPlaced

boolean getIsPlaced()


isVisibleWhenBuilt

boolean isVisibleWhenBuilt()


isDisplayable

boolean isDisplayable()


isMonumentCore

boolean isMonumentCore()

Events


ON_PART_BUILT

ON_PART_BUILT(COMP_BUILDING_PART)


ON_PART_DESTROYED

ON_PART_DESTROYED(COMP_BUILDING_PART)

api/comp_building_part.txt · Last modified: 2022/12/02 14:09 (external edit)