Character.setLockingHarvestable
Set the Harvestable that the Character is locked to. Set Harvestable to nil to unlock.
Kind: Function
Environments: Game
Game
character:setLockingHarvestable( harvestable )
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
harvestable |
Harvestable | The harvestable. |
Returns:
| Type | Description |
|---|---|
| boolean | True if the character was successfully locked or unlocked. |