ChildLinkedComponent
Alex Crimi edited this page Mar 15, 2021
·
2 revisions
ChildLinkedComponent
is an abstract component meant to be implemented by other components that hold a reference to other entities in a parent-child type relationship. It cannot be applied directly to an entity, it can only be inherited from. Its primary purpose is to be able to reference child relationships in a generic way, such as for the ChildAction, but it also provides common template properties for components that inherit from it.
This component doesn't accept any configuration parameters
The following properties are readable by property accessors (eg render state and persistence definitions):
Key | Type | Description |
---|---|---|
childId | int | The id of the child entity referenced by this component, or -1 if no entity is currently linked |
hasChild | boolean | True if an entity is currently referenced by this component, false otherwise |
Overview
Components
Events
Update Scope
Filtering
Persistence
Variables
Value Resolution
Component Reference
- AgeComponent
- AIChargeComponent
- AIPatrolComponent
- CarryComponent
- ChargeComponent
- ChildLinkedComponent
- CollisionComponent
- ContainableComponent
- ContainerComponent
- CorneringComponent
- DeathComponent
- DestroyOnImpactComponent
- GrabComponent
- HealthComponent
- HitBoxComponent
- HurtBoxComponent
- InputComponent
- InteractableComponent
- InteractionComponent
- InvisibilityComponent
- InvulnerabilityComponent
- ItemActionComponent
- LiftableComponent
- LiftComponent
- MovementComponent
- OpenableComponent
- PhysicsComponent
- PullableComponent
- PullComponent
- PushableComponent
- PushComponent
- RenderComponent
- SafeRespawnComponent
- SelfDestructComponent
- SightComponent
- SpatialComponent
- SpawnComponent
- StatefulComponent
- StickyHitComponent
- StunComponent
- SurfaceComponent
- TerrainAwareComponent
- TerrainComponent
- ThrowComponent
- ThrustComponent
- TransformComponent
- TriggerComponent
- WeightTriggerComponent
- ZComponent
- AutoTetherComponent*
- DialogComponent*
- EquipmentComponent*
- FallComponent*
- ItemContainerComponent*
- LavaSinkComponent*
- LedgeHopComponent*
- RollComponent*
- SinkComponent*
- ShadeFormComponent*
- SwimComponent*
- TerrainDamageComponent*
- TetherableComponent*
- TetherComponent*
- TetherPullComponent*
- ThermalComponent*
Action Reference
- ActivateComponentAction
- AddComponentAction
- AttachComponentAction
- ChildAction
- ComponentAction
- DeactivateComponentAction
- DestroyChildAction
- DestroyEntityAction
- DetachChildAction
- DetachComponentAction
- EventAction
- RemoveComponentAction
- RequestRespawnAction
- ResetComponentAction
- SpawnAction
- StopSoundAction
- ToggleStateAction
- TriggerSoundAction
- StopMovementAction*