Execute_PlaceHeldObjectToBizSlot
Description
Moves the game object currently held by the NonBaseObject character into a slot on the BaseObject without spawning a new object. Intended for HouseholdBiz usage (e.g., placing prepared food onto tables or counters inside a HouseholdBiz site).
Note
If S2 is "Saleable_HHB", the placed object is marked as saleable for HouseholdBiz with the appropriate household ownership. S2 also specifies the state group to transition to after placement (state name is always "Normal").
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The target game object that owns the slots (e.g., a table or counter in a HouseholdBiz site) |
| S1 | Optional SlotId (ObjectSlotTableRow.Id). If None, finds an empty slot based on ObjectCategory |
| S2 | Optional StateGroupId to apply after placement (state is always Normal); "Saleable_HHB" for biz |
Examples
| Description | BaseObject | Command | S1 | S2 |
|---|---|---|---|---|
| Place held object into first available slot on Target | Target | PlaceHeldObjectToBizSlot | ||
| Place held object into specific slot and mark as saleable | Target | PlaceHeldObjectToBizSlot | SlotId01 | Saleable_HHB |
| Place held food into biz slot and change state | Target | PlaceHeldObjectToBizSlot | SlotId01 | Cooking |
Back to Command FinderSearch and filter all 399 Script Execution documents
See alsoHousehold Biz & Restaurant
- AbortRestaurantCustomerSequence
- ActivateAssignedRestaurantTable
- AddCustomerSatisfaction
- AddTinyShopScore
- BeginReceivingRestaurantOrder
- BindRestaurantCookingTray
- ClaimRestaurantCookingBatch
- ClaimRestaurantServingBatch
- CommitPendingRestaurantGroupOrder
- CompleteRestaurantMeal
- CompleteRestaurantTableCleanup
- FleaMarket