Omega Game Framework
  • Overview
  • Core
    • Combatants
      • Attributes
      • Abilities
      • Effects
      • Damage Types
      • Factions
    • Gameplay Systems
    • Gameplay Modules
    • Saving & Loading
      • Game Preferences
    • Data Items
      • Data Traits
    • Zones
  • Events
    • Flow Asset
      • Flow Node
    • Global Events
    • Tag Events
  • UI
    • HUD Layers
    • Menus
    • Data Widgets
    • Data Lists
  • Systems
    • Components
      • Inventory (Asset Collection)
      • Leveling & XP
      • Turn-Manager
      • Instance Actor
      • Equipment Component
      • Bullet Spawner
      • Movement: Auto
    • BGM
    • Mod
    • Messages
Powered by GitBook
On this page
  • Equipment Slot Asset
  • Equipment Component
  1. Systems
  2. Components

Equipment Component

PreviousInstance ActorNextBullet Spawner

Last updated 1 year ago

The Equipment Component allows you to set Data assets into custom "Slots", automatically unequipping that slot whenever a new item is equipped to it. If an equipment component shares an actor with a combatant component, it will automatically be registered as an attribute modifier source.

You can add an equipment slot from either a string or by creating a new "Equipment Slot Asset".

Equipment Slot Asset

Accepted Categories

The category tag a data asset must have to be allowed into this slot. (If empty, all assets are allowed)

Accepted Tags

Gameplay tag a data asset must have at least one of to be allowed into this slot. (If empty, all assets are allowed)

Slot Script

A scriptable object for creating/adding more

specific logic to this slot.

Equipment Component

Equip Item

Equips an item into a given custom slot based on a slot asset. Slot Label = Slot Asset name. (Automatically salls "Unequip slot" first.)

Equip Item (Slot Label)

Equips an item into a given custom slot based on a slot string. (Automatically salls "Unequip slot" first.)

Unequip Slot

Removes whatever data item is in the given slot name. Ignores if the slot is empty.

An example of setting an actor's default equipment