Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Wrensey on January 09, 2019, 02:42:40 AM

Title: Help With Getting an Array to Display as a Scoreboard?
Post by: Wrensey on January 09, 2019, 02:42:40 AM
Hello!

I am currently working on setting up a scoreboard in my game and I have a playmaker array that stores player score values.

I would like these values to display vertically in a UI panel. I can get the array to display in a text box with the values sorted by highest, but is there a good way to make them display vertically in a text box rather than horizontally.

So instead of the array text displaying like this:
400, 300, 200, 100

It will always display like this:
400,
300,
200,
100

I know I can fiddle around with the text box dimensions to achieve this effect, but sometimes it cuts off longer or shorter numbers.

I would also like the values to display without the commas between them if that's possible.

Thanks in advance!
Title: Re: Help With Getting an Array to Display as a Scoreboard?
Post by: djaydino on January 09, 2019, 09:34:49 AM
Hi,
maybe you can use a different approach like in this tutorial :

Title: Re: Help With Getting an Array to Display as a Scoreboard?
Post by: Wrensey on January 09, 2019, 12:28:31 PM
Thanks Djay, I'll check that vid out!