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
  • Global Private
  • Interact Example
  • Global
  • Private
  1. Other Subsystems

Custom Variable System

PreviousSave SystemNextAddCustomVariable

Last updated 2 years ago

Custom Variables store an Integer Value for specific Players via the UniqueID or Global for all Players. Each Custom Variable has an FName as the Identifier(ID) which needs to be Unique. All variables are stored in the GameInstance of the Server and the Clients keep a copy of it. You can even bind a Custom Dispatcher to trigger events if a specific value is reached.

Global Private

Interact Example

Global

Private

We also implemented it to our Treasure and Item drop Blueprint which can be used as OnExpose options too:

Page cover image