Skip to main content

Execute_SpawnNewCarriableObject

Description

Spawns a new CarriableObject with the specified ObjectId and attaches it to the BaseObject character. If spawning or attachment fails, the object is destroyed and an error is logged.

Parameters

ParameterDescription
BaseObjectCharacter entity to receive the spawned carriable object
S1ObjectId of the carriable object to spawn

Examples

DescriptionBaseObjectCommandS1
Spawn a book for characterSelfSpawnNewCarriableObjectBook_Novel_001
Spawn a phone for target characterTargetSpawnNewCarriableObjectPhone_Smart_01