Use Item At Package

Revision as of 16:53, 11 March 2009 by imported>DZastreux (→‎Package Specific Data)

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 : Might not work at all, once arrived at the end-of-package Location (such as a static marker) if the actor must choose between 2 different Furnitures objectID. Most of the time, the actor will just choose the closest one, ...But in the worst cases, you might experience really weird behaviours ( hesitating, switching and even vanishing actor ! )
      • Object Type: Select a type of object.
  • 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.
      • Instead of checking this, you might choose Furniture in Object Type (Exemple: CG03DadSit )
      • In some cases, the actor won't be able to use properly any Furniture around, if the Package Location isn't the furniture itself, or a static marker.
  • 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.