ok so i have a leaderboard in my map the code for it is this
Leaderboard-Createaleaderboardwith3columnsand((Numberofplayersin(ActivePlayers))+2)rows,withthename"Capture The Flag",andusing(100%,100%,100%)color.Variable-SetLeaderboard[2]=(Lastcreatedleaderboard)Leaderboard-SetLeaderboard[2]itemtextatcolumn1androwHeaderto"Player"Leaderboard-SetLeaderboard[2]itemtextatcolumn2androwHeaderto"Caps"Leaderboard-SetLeaderboard[2]itemtextatcolumn3androwHeaderto"Kills"Leaderboard-SetLeaderboard[2]itemtextatcolumn1androw((Numberofplayersin(ActivePlayers))+1)to((Text"Red Team Caps: "withcolor(100%,0%,0%))+(Text(RedCaps)))Leaderboard-SetLeaderboard[2]itemtextatcolumn1androw((Numberofplayersin(ActivePlayers))+2)to((Text"Blue Team Caps: "withcolor(0%,0%,100%))+(Text(BlueCaps)))PlayerGroup-Pickeachplayerin(Allplayers)anddo(Actions)ActionsLeaderboard-SetLeaderboard[2]itemtextatcolumn1androw(Triggeringplayer)to(Nameofplayer(Triggeringplayer))Leaderboard-SetLeaderboard[2]itemtextcoloratcolumn1androw(Triggeringplayer)to(Color((Currentplayer(Triggeringplayer)color)))Leaderboard-SetLeaderboard[2]itemtextatcolumn2androw(Triggeringplayer)to"0"Leaderboard-SetLeaderboard[2]itemtextatcolumn3androw(Triggeringplayer)to"0"
But when i go to test it online, with a computer AI added to the game, It only shows me, there is an empty row where the computer player should so up but nothing is in it. not even the 0's under kill and cap. Can anyone help me figure out why?
I tested earlier with a friend but at the time i had the row codes put into a "picked player" action under two team functions, I set players on team one to a global group same with team two which i thought was the problem but even with it as above i still cant get it to work.
ok so i have a leaderboard in my map the code for it is this
But when i go to test it online, with a computer AI added to the game, It only shows me, there is an empty row where the computer player should so up but nothing is in it. not even the 0's under kill and cap. Can anyone help me figure out why?
I tested earlier with a friend but at the time i had the row codes put into a "picked player" action under two team functions, I set players on team one to a global group same with team two which i thought was the problem but even with it as above i still cant get it to work.
first try picked player instead of triggering