{"id":2,"date":"2021-04-27T09:11:50","date_gmt":"2021-04-27T09:11:50","guid":{"rendered":"http:\/\/marketplace.kaidoomgames.com\/?page_id=2"},"modified":"2025-03-20T12:10:43","modified_gmt":"2025-03-20T12:10:43","slug":"jigsawinventory","status":"publish","type":"page","link":"https:\/\/marketplace.kaidoomgames.com\/","title":{"rendered":"JigSaw Inventory System V4.7"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>There are two ways you can use Jigsaw Inventory System, the first option is to use the Multiplayer Component and let Jigsaw handle all of you inventory interactions, of course you will still be able to customize the layout of your inventory and handle equipment yourself.<br>The other options is to use Jigsaw widgets to build your own system, Jigsaw widgets provide many built in functions such as adding, removing items etc. the only difference is you have to control the flow of your inventor yourself and also handle replication.<br><br>Today we will take a look at how to utilize the power of Jigsaw Multiplayer Component to easily get your inventory up and running in few minutes, although this component does handle multiplayer it is absolutely fine to use it in a single player game.<br><br>We are going to set everything up from scratch to achieve something similar to what we have in the demo map, for that I will be working with an empty map and a character and player controller, these blueprints have nothing in them expect for movement logic in the character blueprint<\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><strong>Video Tutorial<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"UE5 Advanced Jigsaw Inventory V4.7 - Tutorial\" width=\"1230\" height=\"692\" src=\"https:\/\/www.youtube.com\/embed\/mOEfv3VHB0A?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><br><strong>How to Migrate Jigsaw to another project<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Migrating Advanced Jigsaw Inventory\" width=\"1230\" height=\"692\" src=\"https:\/\/www.youtube.com\/embed\/uZecl_N3GBQ?list=PL2JrJiB-UkaVaEwSlZJZl4A8wYMfKoQLt\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><br><strong>Creating The Inventory Widget<\/strong><\/h2>\n\n\n\n<p>Let&#8217;s go ahead and create our inventory widget, this is where you decide how it should look like, for example how many equipment slot and the overall layout of the inventory. I recommend you watch the first few minutes of the video above to see how I create my inventory widget.<br><br>Add a new widget blueprint based off <strong>BP_MainJigInventory <\/strong>as a parent class. See image below.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"314\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image.png\" alt=\"\" class=\"wp-image-139\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image.png 623w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-300x151.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-600x302.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-400x202.png 400w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/figure>\n\n\n\n<p>Feel free to design your widget however you want, the main thing we need to do is add a few equipment slots, these are <strong>JSIContainer <\/strong>widgets you can add them from the Palette.<br>Set the container tag to <strong>EquipTo<\/strong>, specify the slot size and indicate the supported item type tags. Here&#8217;s how mine looks like<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90b3a6&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90b3a6\" class=\"wp-block-image size-full is-style-default wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2037\" height=\"1146\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1.png 2037w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-300x169.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-1024x576.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-768x432.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-1536x864.png 1536w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-825x464.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-1777x1000.png 1777w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-600x338.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-1-400x225.png 400w\" sizes=\"auto, (max-width: 2037px) 100vw, 2037px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>From the palette add <strong>BP_EquipToContent<\/strong>, this will be used to display the loot content of a container like a pickup or loot container. I placed mine in the middle of the widget.<br>Add something like a vertical box, this will be used to show your pickup container content, for example when a backpack is equipped we can add its content in this vertical box.<br><br>Be sure to add <strong>DropItemBackGwidget <\/strong>to your widget to allow dropping items using drag and drop.<br>You can add <strong>BP_CharPreview <\/strong>if you want to use the character preview system<br><strong>BP_CraftingWidget <\/strong>can also be added to handle crafting and <strong>BP_VicinityLoot <\/strong>to handle vicinity loot.<br><br>Now switch to the graph section, in the My Blueprint panel click add new and override function, select <strong>GetInventoryData<\/strong>, in this function we will indicate the list of equipment slots, the <strong>BP_EquipToContent <\/strong>where loot content should show up, the vertical box or equivalent where equipment content will show up and if used we can indicate the preview character widget and the class.<br>Here&#8217;s how mine looks like:<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90b99c&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90b99c\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"793\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2.png 959w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2-300x248.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2-768x635.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2-750x620.png 750w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2-600x496.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-2-400x331.png 400w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>The order of Containers is important we need to respect that later.<br>Swap Containers is used for two containers that are able to swap, for example in the demo example I have primary and secondary slots.<br><br>Excluded Containers is used for certain containers that should not be considered for when picking up items and other gameplay interactions. For example in the demo we have a stash container built in the player&#8217;s inventory, so that particular container should be excluded.<br><br>The preview class should be <strong>BP_JigCharacterPreview<\/strong> by default, feel free to modify the mesh inside.<\/p>\n\n\n\n<p><br>Override the function <strong>GetDropWidget <\/strong>and indicate the <strong>DropItemBackGWidget<\/strong><br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90bf71&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90bf71\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"725\" height=\"304\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-3.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-3.png 725w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-3-300x126.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-3-600x252.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-3-400x168.png 400w\" sizes=\"auto, (max-width: 725px) 100vw, 725px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>You use this event to know when a loot content is displayed, this is usually used to hide or show certain elements of your inventory, in this case I used it to collapse or show the loot content widget because I set it to collapsed by default.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90c4dd&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90c4dd\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"927\" height=\"561\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4.png\" alt=\"\" class=\"wp-image-143\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4.png 927w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4-300x182.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4-768x465.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4-825x499.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4-600x363.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-4-400x242.png 400w\" sizes=\"auto, (max-width: 927px) 100vw, 927px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><strong>The Character BP<\/strong> <strong>Setup<\/strong><\/h2>\n\n\n\n<p>Let&#8217;s setup the character BP:<br>First let&#8217;s add these three components: <strong>BP_JigMultiplayer<\/strong>, <strong>BP_JigHelperComp <\/strong>and <strong>JigContextMenuComp<\/strong><br>Next add these three interfaces: <strong>BP_JigCharacterInterface<\/strong>, <strong>BP_JigMPComponentInterface <\/strong>and <strong>BP_MpInteractInterface<\/strong><br><br><strong>BP_JigMultiplayer setup<\/strong><br>Select the BP_JigMultiplayer component and change the MPComponent Type tag to <strong>Player<\/strong> and indicate your main inventory slots while respecting the same order we indicated in <strong>GetInventoryData <\/strong>we handled previously.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90cace&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90cace\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"636\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-1024x636.png\" alt=\"\" class=\"wp-image-144\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-1024x636.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-300x186.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-768x477.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-825x512.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-600x372.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5-400x248.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-5.png 1421w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><strong>BP_JigHelperComp setup<\/strong><br>Select the BP_JigHelperComp and configured your main slots by indicate the tag the same way we did in the inventory widget and the same container name set in the BP_JigMultiplayerComp.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90d00d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90d00d\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"632\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-1024x632.png\" alt=\"\" class=\"wp-image-145\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-1024x632.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-300x185.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-768x474.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-825x509.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-600x370.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6-400x247.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-6.png 1426w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><strong>IsEquipment <\/strong>should be true if the slot can hold one item essentially and set to false if the container has multiple columns\/rows.<br><strong>IsPersistentActor<\/strong> if false the pickup actor will be destroyed and a simple static\/skeletal mesh will be equipped, this should be false for clothes, backpack etc and should be true for your weapon.<br><strong>UseLeaderPose <\/strong>is used for equipment skeletal meses that need to follow the main mesh animation, for example clothes.<\/p>\n\n\n\n<p>Let&#8217;s used the character begin play to initialize the multiplayer component. We need to use Server request data to initialize the component and load starting items if available. Alternatively you can use Request data from save to load a saved data, if the data is not found it will fall back to loading starting items. In any case you need to use one of the two to initialize the component.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90d842&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90d842\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"324\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-1024x324.png\" alt=\"\" class=\"wp-image-146\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-1024x324.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-300x95.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-768x243.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-1536x486.png 1536w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-825x261.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-600x190.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7-400x127.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-7.png 1739w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><strong>Interaction and Interface System<\/strong><\/h2>\n\n\n\n<p>Now we need a way to interact with pickups and loot containers. Use whatever input your prefer and do the same. <br>Toggle inventory is used to show\/hide your inventory widget.<br>Try interact is used to try and interact with whatever we&#8217;re looking at<br>Mouse wheel Up\/Down is used to cycle between different interaction options such as pickup\/search<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90dd29&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90dd29\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"629\" height=\"618\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-8.png\" alt=\"\" class=\"wp-image-147\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-8.png 629w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-8-300x295.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-8-600x590.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-8-400x393.png 400w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Let&#8217;s go ahead and handle certain interface function responsible for those interactions.<br>First one is On Pickup Interact Executed, this will be called when the interaction input pressed while looking at a pickup, in this case we forward the event to the helper and let it handle it based on configuration we indicated earlier.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90e135&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90e135\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"307\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9.png\" alt=\"\" class=\"wp-image-148\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9.png 782w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9-300x118.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9-768x302.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9-600x236.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-9-400x157.png 400w\" sizes=\"auto, (max-width: 782px) 100vw, 782px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>If we managed to equip the pickup, the item is now in our inventory data but we need to do something with the pickup BP such as destroy it, equip a mesh or weapon etc. On Pickup Equipped handles that, again we forward that to the helper.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90e530&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90e530\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"378\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10.png\" alt=\"\" class=\"wp-image-149\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10.png 997w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10-300x114.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10-768x291.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10-825x313.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10-600x227.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-10-400x152.png 400w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Next function handles looting containers, for example looting an ammo box I want to show the inventory and display the loot content. This function handles that, first we add the widget content and show the inventory.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90e923&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90e923\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-1024x329.png\" alt=\"\" class=\"wp-image-152\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-1024x329.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-300x96.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-768x247.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-825x265.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-600x193.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11-400x129.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-11.png 1298w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Showing the loot content is not enough we need the server to send up the loot data because Jigsaw is event based for performance reasons.<br>This function handles sending loot data when looting a container or pickup container.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90ed37&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90ed37\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"439\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-1024x439.png\" alt=\"\" class=\"wp-image-153\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-1024x439.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-300x129.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-768x329.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-825x354.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-600x257.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12-400x171.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-12.png 1073w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>So far you should be able to loot containers and pickups but your character BP is not able to equip\/unequip visually in some cases, let&#8217;s go ahead and fix that.<\/p>\n\n\n\n<p>On main added this will be called when equipping something via drag and drop or loading starting items or save.<br>On main removed when unequipping something from your main slot.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90f179&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90f179\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"442\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14.png\" alt=\"\" class=\"wp-image-155\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14.png 960w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14-300x138.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14-768x354.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14-825x380.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14-600x276.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-14-400x184.png 400w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90f54b&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90f54b\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"397\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-1024x397.png\" alt=\"\" class=\"wp-image-156\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-1024x397.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-300x116.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-768x298.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-825x320.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-600x233.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15-400x155.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-15.png 1046w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Next one is when looting a container but then you walk too far, we need to cancel out looting. This is the function, we simply close the inventor and that should also clear the loot widget.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90f95a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90f95a\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"452\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-1024x452.png\" alt=\"\" class=\"wp-image-157\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-1024x452.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-300x132.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-768x339.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-825x364.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-600x265.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16-400x177.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-16.png 1203w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Next one is On item moved, this one will be called when moving an item within your own inventory.<br>On item added, this will be called when an item is added to your inventory from an external source such as a loot container box.<br>On item removed is same as added but your transferred an item from your inventory to some loot container.<br>We will forward these events to the helper, in this case they are used to update attachments.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f90ff12&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f90ff12\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"354\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17.png\" alt=\"\" class=\"wp-image-158\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17.png 950w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17-300x112.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17-768x286.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17-825x307.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17-600x224.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-17-400x149.png 400w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f910327&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f910327\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"353\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18.png\" alt=\"\" class=\"wp-image-159\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18.png 935w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18-300x113.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18-768x290.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18-825x311.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18-600x227.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-18-400x151.png 400w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f91070e&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f91070e\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"377\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19.png\" alt=\"\" class=\"wp-image-160\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19.png 924w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19-300x122.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19-768x313.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19-825x337.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19-600x245.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-19-400x163.png 400w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>When two equipment slots are swapped this gets called<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f910b13&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f910b13\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"319\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23.png\" alt=\"\" class=\"wp-image-164\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23.png 1010w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23-300x95.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23-768x243.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23-825x261.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23-600x190.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-23-400x126.png 400w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>When dropping an item this gets called so we can spawn a pickup BP<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f910f27&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f910f27\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"289\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24.png\" alt=\"\" class=\"wp-image-167\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24.png 920w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24-300x94.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24-768x241.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24-825x259.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24-600x188.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-24-400x126.png 400w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>So far you should be able to pickup items and move them around while seeing the effect on your character equipment. Let&#8217;s make sure the preview character is being updated.<br>The following three function are mainly to update the preview character.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f911327&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f911327\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"307\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20.png\" alt=\"\" class=\"wp-image-161\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20.png 851w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20-300x108.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20-768x277.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20-825x298.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20-600x216.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-20-400x144.png 400w\" sizes=\"auto, (max-width: 851px) 100vw, 851px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f9116ed&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f9116ed\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"307\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21.png 936w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21-300x98.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21-768x252.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21-825x271.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21-600x197.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-21-400x131.png 400w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f911aac&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f911aac\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"540\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-1024x540.png\" alt=\"\" class=\"wp-image-163\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-1024x540.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-300x158.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-768x405.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-825x435.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-600x317.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22-400x211.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-22.png 1194w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-luminous-vivid-amber-color has-text-color\"><strong>Equipped Actors and Active Weapon<\/strong><\/h2>\n\n\n\n<p>First to access equipped actors we can use this function, for example I want to access my primary.<br>Include Primitive: this is mainly to access non persistent actors such as equipped pants which should be in most cases a simple skeletal mesh.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f911f9a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f911f9a\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"249\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25.png\" alt=\"\" class=\"wp-image-168\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25.png 820w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25-300x91.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25-768x233.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25-600x182.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-25-400x121.png 400w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Here&#8217;s an example if getting that primary weapon and equipping it, notice how we update the active weapon at the end<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f912430&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f912430\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"287\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-1024x287.png\" alt=\"\" class=\"wp-image-169\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-1024x287.png 1024w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-300x84.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-768x215.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-1536x430.png 1536w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-825x231.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-600x168.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26-400x112.png 400w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-26.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>By updating the active slot we know what we are currently equipping, next time I can check like this.<br><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69ea12f91289f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69ea12f91289f\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"918\" height=\"225\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27.png\" alt=\"\" class=\"wp-image-170\" srcset=\"https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27.png 918w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27-300x74.png 300w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27-768x188.png 768w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27-825x202.png 825w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27-600x147.png 600w, https:\/\/marketplace.kaidoomgames.com\/wp-content\/uploads\/2024\/09\/image-27-400x98.png 400w\" sizes=\"auto, (max-width: 918px) 100vw, 918px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are two ways you can use Jigsaw Inventory System, the first option is to use the Multiplayer Component and let Jigsaw handle all of you inventory interactions, of course&hellip;<a href=\"https:\/\/marketplace.kaidoomgames.com\/\" class=\"more-link\"><span class=\"more-button\">Continue reading<span class=\"screen-reader-text\">JigSaw Inventory System V4.7<\/span><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"templates\/full-width-page.php","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":14,"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/marketplace.kaidoomgames.com\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}