Use Item At Package

Revision as of 07:43, 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 : In some cases, you might experience weird behaviours with the actor ( hesitating, switching or even vanishing! ) if , once arrived at the end-of-package location, he must choose between 2 different Furnitures objectID ( For exemple : Stool01L / OasisCouch01 ). This might be because of some data embedded (or not!) in the .Nif files itselves, used for those objects ( .Nif are 3D meshes easy to edit with NifSkope ) ; it seems any nodes in furniture meshes should contain a NiStringExtraData:Unyielding = 0 value ( what's actually not always the case in some vanilla files such as furniture\stool01.nif, but is the case in some others like furniture\oasis\oasiscouch01.nif )
      • 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.