The image below is a screenshot from Custom Duels, it has two chat tags. How did they put two chat tags?
1 Like
use :SetExtraData twice, i guess?
1 Like
That doesn’t work, no. I’ve tried that.
Just put 2 tags in one string.
Example:
"[Hello]" -- Normal Tag
"[Hello] [World]" -- 2 Tags in one string.
1 Like
When using SetExtraData to set tags, the tags key takes an array of objects that describe the appearance of each tag. You could add as many tags as you want, really. For example:
Speaker:SetExtraData("Tags", {
{
TagText = "Hello world";
TagColor = Color.new(1,1,1);
};
{
TagText = "Wasgud";
TagColor = Color.new(1, 0, 0);
}
})
See this post below on how to interact with the Chat Service API to add tags:
2 Likes