Skip to content
Jigwright
HullForge docs

Add Actor Component

Add a component to ONE PLACED ACTOR, not to its class. The component exists on this instance only, is saved with the level rather than with the Blueprint, and is the only kind hf_remove_actor_component can remove.

hf_add_actor_componentWrite

Arguments

NameTypeDescription
actorreqstring
component_classreqstringClass short name or path, e.g. PointLightComponent.
attach_to_rootboolean
= true
Attach a scene component to the actor's root. Ignored for components with no transform.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.
namestringName for the new component. Omit to let the engine pick one.

Nearby in Actors and selection:

All 27 tools in Actors and selection — 18 more not listed here.