Help with Making a More Memory Efficient Chat System

I have a chat system in my game, but it creates quite some lag due to the high memory content of it. For each message, I have an individual trigger and block code, which takes up quite a bit of memory. I want to create a chat system that only requires 1 trigger. I’m guessing it has something to do with properties but idk how. Will reply back in a few hours.

1 Like

Could you just use popups? Your call to action channels could be saying one thing, or moving on to the next option

1 Like

Yeah, that is way more efficient than a 550 memory per message, but this is the only issue:

# = message   > = option for next or send

#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>#>
                                                          ^what you want to say

Yes… I don’t see an issue here…

:snowman:Could you not just make a pop-up that is the top right and a list of popups?:snowman:

I’m pretty sure pop-ups have a max buttons of 2.

This issue the code thing I made shows that for a specific message you want to send, you might have to press “next option” over 20 times or some other long amount of presses.

This isn’t really what I mean. My system has a set of Popup Call to Actions that, once you select them, it triggers a Trigger with some blockcode that adds a message to the activity feed. For example: Popup Call to Action (when selected ‘Hi!’) → Add Activity feed message ‘Hi!’ I’m looking for a way to confine all of these triggers into 1 trigger with one set of block code.

1 Like

I think I understand what you mean, but can you give us screenshots of your current system?

Edit: I’m on a chromebook and don’t have a computer, so I can’t help answer that. ;-;

1 Like

gimme a sec, idk how to put screenshots on a computer. help ;-;
edit:

blockcode:

1 Like

Maybe follow this guide and instead add a create text with block to the text property in the overlay code.

2 Likes

Wdym? I’m a little confused,

Can’t you have one pop-up call to action with all the options, and have it transmit on a certain channel when a player clicks on it?
or am I just dum

1 Like

Oh yeah ._. I dumm, you smort.
I’ll try that out tonight

2 Likes

With pre typed chat messages? or where the player types them?

1 Like

Pre-typed messages. Typing them would be too memory-intensive

1 Like

https://forum.creative.gimkit.com/t/pictures-the-scary-way-to-chat/188902

2 Likes

I don’t need to know how to make a chat system, I want to know how to make my system more memory-efficient.

You wanted pre made messages

Umm, can’t you just make a pop-up and use the pop-up call to actions to make a list? just link each one to a notification. (I think I’m missing something about what you want…)

1 Like