Skip to main content

Execute_SpawnNewBookObject

Description

Creates a new BookObject and attaches it to the hand of the BaseObject character. If S1 is None or the book ID is not found in the table, a random book is selected.

Parameters

ParameterDescription
BaseObjectThe character who will receive the spawned book object
S1BookId to spawn (Book.json Id). If None or not found, a random book is selected

Examples

DescriptionBaseObjectCommandS1
Spawn a specific book and attach to SelfSelfSpawnNewBookObjectBook_Novel_001
Spawn a random book and attach to TargetTargetSpawnNewBookObject
Spawn a cookbook and attach to SelfSelfSpawnNewBookObjectBook_Cook_001