Skip to main content

Execute_AddUnlockGameObject

Description

Unlocks a furniture or game object for the BaseObject character, recording the unlock reason based on the script execution context (e.g., Ambition, Skill, Job).

Parameters

ParameterDescription
BaseObjectThe character to unlock the game object for (Self or Target).
S1The Object ID to unlock (as defined in Object.json).

Examples

DescriptionBaseObjectCommand
Unlock grandfather clock for SelfSelfAddUnlockGameObject
Unlock a skill-reward object for TargetTargetAddUnlockGameObject
Unlock an ambition reward object for SelfSelfAddUnlockGameObject