RPG-System: All-In-One | Documentation
  • Welcome
  • Discord
  • Implementation
    • Migrating
    • Implementing
      • Network UniqueID
    • Tips
      • Optional Config settings
  • Good to know
    • Global Settings
    • Get RPG Reference of a Player
    • Experience Penalty on Death
    • Copy Player Info | Make Clones
  • Leveling System
    • Overview
    • Spendable Stat Points
  • Class System
    • Overview
    • Adding a new Class
    • Add a Skill Tree to a Class
  • Status Attributes
    • Stats
      • Stat Bonus
      • Add a new Status Attributes (Stat Bonus)
    • Elements
      • Element Bonus
      • Add a new Element
    • Attack Bonus
  • Item/Equipment System
    • Item Datatable
      • Base Item Stat Bonus (ATK, DEF)
      • Item Grade/Rarity Scaling
    • Stat Bonuses
    • Socket/Gem Slots
    • Adding a new Item
    • Add a new ItemType
    • Item Tips & Tricks
      • Prevent Items from being Lootable Until Conditions Met
  • Inventory System
    • Overview
    • Socket/Gem Slot
    • Currency
      • Add a New Currency
    • Refinement System
    • Personal Storage System
    • Auto Loot
      • Quick-Loot/Take All Items
    • Functions
      • EquipItem
      • UnequipItem
      • DropItem
        • SplitDrop
      • UseConsumableItem
        • ItemCallEvent
      • GetItemCooldown
      • SetInventorySlot
      • GetInventorySlot
      • SetEquipmentSlot
      • GetEquipmentSlot
      • InventorySwapItem
      • InventoryAddItem
      • InventoryRemoveItem
      • GetFreeInventorySlot
      • InventoryHasItem
      • InventoryGetItemAmount
      • InventoryTryStack
      • AddCurrency
      • GetCurrency
      • SetRefineLevel
  • Status Effects System
    • Overview
    • Add a new Status Effect
    • Functions
      • Add Status Effect
      • Remove Status Effect
      • Has Status Effect
  • Crowd Control System
    • Overview
    • Add a new Crowd Control
    • Functions
      • AddCrowdControl
      • RemoveCrowdControl
      • HasCrowdControl
      • OnCrowdControl
  • Skill System
    • Skills
      • Add a new Skill
      • Creating a Ranged Projectile
      • Modifying Skill Upgrades
      • Skill Database Parameters
      • Custom Skill Logic
    • Skill Trees
      • Add a new Skill Tree
      • Add Skills to an Skill Tree
      • Add a Skill Tree to a Class
    • Skill Functions
      • SetBasicAttackInfo
      • SetCurrentSkill
      • UseSkill
      • ExecuteSkill
      • GetSkillATK
      • SetSkillUpgrades
      • SetSkillIndicatorLocation
        • First/Third-Person
        • Top-Down
      • SelectTarget
        • First/Third-Person
        • Top-Down
      • ⚔️BasicAttack
    • Skill Module
      • Event Skill Initialized
      • Event Skill Start
      • Event Skill End
      • Multi-Hit Parameters
    • Tips & Tricks
      • Spawn Module on Socket Location
  • Hotbar
    • Hotbar
  • Crafting System
    • Overview
    • Creating a new Item
  • Shop System
    • Overview
  • A.I Systems
    • Enemies
      • Creating a new Enemy
      • A.I Spawner Sample
    • Companions
      • Add new Companion
    • Minions
    • Pets
      • Add new Pet
      • Add new Pet Cube
    • Tips & Tricks
      • Force Companion to Attack
  • Quest System
    • Overview
    • Pre-made Task Types
    • Objectives
  • Party & Chat System
    • Parties
    • Chat
  • Other Subsystems
    • Interact System
      • Create a Interactable Object
    • Drop System
    • Save System
    • Custom Variable System
      • AddCustomVariable
        • Interact Example
    • Custom Dispatcher System
      • Example from the Demo
Powered by GitBook
On this page
  1. Other Subsystems

Custom Dispatcher System

PreviousInteract ExampleNextExample from the Demo

Last updated 2 years ago

Communicate between objects without any object references, add Server-wide (Global) custom variables or Private Variables with an in-built Dispatcher system to trigger events or use it for any kind of puzzles/Quest. Items, Enemies and Treasure Chests now have “OnExpose” CustomVariable arrays which will get added to the player on Interact/Pickup.

Custom dispatchers can be bound by using an FName as an identifier (ID), this ID can also be a CustomVariableID. The main advantage of this is that you don't need an object reference to call the dispatcher and the same ID can be used on all objects. This makes communicating between objects easier.

Page cover image