Use Item At Package
From GECK
The Use Item At Package governs the behavior for an actor using any item.
Package Specific Data
- Item to Use: Specify a reference, or a base object, or an object type.
- Specific Reference: Pick an item to use.
- Any Object:
- Object ID: Select an object to use.
- About Furnitures : This Object ID: field won't work properly ; if the actor must choose between 2-or-more different Furnitures objectID once arrived at the Location, then use Find Package instead. Indeed, with the Use Item At package, here is what happens :
- With Sit Down checked the actor will just sit on the closest one regardless of Object ID: field (Or, in the worst cases, you might experience really weird behaviours with hesitating, switching and even vanishing actor !).
- Without Sit Down, the actor will just do nothing more, once at Location.
- About Furnitures : This Object ID: field won't work properly ; if the actor must choose between 2-or-more different Furnitures objectID once arrived at the Location, then use Find Package instead. Indeed, with the Use Item At package, here is what happens :
- Object Type: Select a type of object.
- Object ID: Select an object to use.
- Replace After Use: Unused.
- Location: Standard Location data. The location to use the item.
- Sit Down: If checked, the actor will sit down within the location radius if any chair is available. Note : Instead of checking this, you might also consider choosing Furniture in Object Type (Exemple: CG03DadSit )
- Allow Search:
- If checked, this is the location where the actor will go to search for the item to use, if the item is not already in the actor's inventory.
- If unchecked, the actor may only use items in its inventory.
Flags
- Pretend In Combat: The actor will perform the travel behavior on the way to the location, then will drop out of combat and perform the normal package behavior.
- Continue During Combat: The actor will perform the travel behavior on the way to the location, then will drop out of combat and perform the normal package behavior.
Behavior
The actor will search for the item to use (if necessary, and if allowed).
Then the actor will move to the location and "use" the specified item for the package duration. If the specified item is an activator or furniture, the actor will use/sit in the object. If the item is an inventory object, the actor will play an animation (if available) appropriate for using that item.