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
| Parameter | Description |
|---|
| BaseObject | The character to unlock the game object for (Self or Target). |
| S1 | The Object ID to unlock (as defined in Object.json). |
Examples
| Description | BaseObject | Command |
|---|
| Unlock grandfather clock for Self | Self | AddUnlockGameObject |
| Unlock a skill-reward object for Target | Target | AddUnlockGameObject |
| Unlock an ambition reward object for Self | Self | AddUnlockGameObject |