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_componentWriteArguments
| Name | Type | Description |
|---|---|---|
actorreq | string | |
component_classreq | string | Class short name or path, e.g. PointLightComponent. |
attach_to_root | boolean = true | Attach a scene component to the actor's root. Ignored for components with no transform. |
force | boolean = 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. |
name | string | Name for the new component. Omit to let the engine pick one. |
Related tools
Nearby in Actors and selection:
- Add Streaming Level
- Align Actors
- Attach Actor
- Audit Actors
- Batch Set Actor Transform
- Delete Actor
- Describe Actor
- Detach Actor
All 27 tools in Actors and selection — 18 more not listed here.