Item Containers (Data Type)
Item Containers
(Editor Screenshot) needs pic of a container
Description
An inventory expansion UI layout for storing and using held units with items
Hint
- Beware that container UIs can overlap causing difficulties when moving or transfering items
- Plan your container layout in advance because it is hard to remove slots in the data editor
- Needs an Ability - Info - Empty Face button from the Buttons data type if linked directly from the Inventory ability
Example Usage
WoW Character
A container designed to mimic the inventory of WoW including placement of specific equipment class slots
URL
As the WoW Character container is already in the campaign dependencies, no URL is needed
Fields Description
Model
- The model from the Models data type shown in the background of the container UI
- If set to (None) uses the model of the Unit actor of the casting unit
Model Height
- Sets the vertical scale of the model from the Model field
Model Width
- Sets the horizontal scale of the model from the Model field
Slots - Classes
- The classes from the Item Classes data type used to filter what items can be placed in each slot
- The left index value is the slot number
- The right index value allow several classes of item to be put in the same slot
- Leaving this field empty allows any item class to be put in the slot
Slots - Column
- The Horizontal position of each slot
- 0 is the far left with increasing numbers going right
Slots - Empty Face
- (Unknown) appears to have no effect
- Uses buttons from the Buttons data type
Slots - Equip
- Are items in the slot known as equiped
- Only items in slots with the Equip flag enabled give their Equip bonuses
- The Carry bonuses of items apply even if this field is disabled for the slot
Slots - Requirements
- Requirements that have to be met by the unit with the inventory to use the slot
- (Unsure) if disabling while holding an item forces the item to drop or not
Slots - Row
- The vertical position of each slot
- 0 is the far top with increasing numbers going down