đŸ”Ŧ
MIP HyperLInk Chat System
  • 👋Welcome to MIP Multiplayer HyperLink Chat System
  • Overview
    • ✨Our Features
  • Fundamentals
    • đŸ› ī¸Setup on a new project
  • Example Content
    • â„šī¸Guide
    • đŸ”ŗLink Item Example
  • Key Components
    • đŸ–Ĩī¸Player Controller Components
    • đŸ–Ĩī¸Game State Components
    • đŸ–Ĩī¸Game Mode Components
    • đŸ–Ĩī¸Pawn Components
  • Patch Notes
    • v1.1
    • v1.2
    • v1.2.1
  • DEMO PROJECT
    • How to run demo project
Powered by GitBook
On this page
  • LinkItem in BP_MIPCS_PC
  • OnItemHyperLinkedClicked delegate
  1. Example Content

Link Item Example

PreviousGuideNextPlayer Controller Components

Last updated 1 year ago

This will guide you through the example functions I made in BP_MIPCS_PC to link an item in the chat.

LinkItem in BP_MIPCS_PC

This function will try to get Item from ItemsDT then call LinkItem() in MIPChatItemLinker

MIPChatItemLinker->LinkItem() requires

  1. ItemNameString: is what will display on the chat.

  2. ItemContent: content u want to pass in order to construct your item, such as ItemId in this example. In my Inventory System, I pass ItemId, EnhanceLevel, Max/Current Durability, etc as JSON string in order to construct my item.

  3. Style: is the text style defined in DT_MIPChatRichText such as Legendary, Epic, etc.

OnItemHyperLinkedClicked delegate

It is a delegate in MIPChatItemLinker which will get triggers when u clicked on item hyperlink text.

When it is triggered we try to find the Item and display the item tooltips.

It is relatively easy for this example, since we only pass the ItemId as ItemContent. In my Inventory System, I need to parse the JSON string and get all the variables I need in order to construct my item.

đŸ”ŗ