playMaker

Author Topic: Limit Text Chats online  (Read 773 times)

andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Limit Text Chats online
« on: August 29, 2020, 11:49:21 PM »
There's chat in my game and I want to limit it to lets say 10 chats in the box, I'm trying to do something like find child or renaming each created text game object and delete the last 10th text but I'm having trouble trying to build it.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: Limit Text Chats online
« Reply #1 on: August 30, 2020, 06:27:35 AM »
Hi.
Probably best to use array maker

Add a String then check size if greater than 10 remove the array on index 0

Here's a video on array maker :


andyandyandy

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 63
Re: Limit Text Chats online
« Reply #2 on: August 30, 2020, 05:08:29 PM »
thank you so much!