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
| Parameter | Description |
|---|---|
| BaseObject | Character entity to receive the spawned carriable object |
| S1 | ObjectId of the carriable object to spawn |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Spawn a book for character | Self | SpawnNewCarriableObject | Book_Novel_001 |
| Spawn a phone for target character | Target | SpawnNewCarriableObject | Phone_Smart_01 |
Back to Command FinderSearch and filter all 399 Script Execution documents