|
| 27 Feb 2017 09:37 AM |
Hello, I made a new forum about this seeing that the other one was too confusing to understand. I've made a football game and have an issue with the scoreboard. I've had team logo's (pictures) change each game for the scoreboard. However, I dont understand on how to make a a certain backdrop happen for a certain/ corresponding team. I have teams and backdrops backdrop to them team color of the teams playing.
Boston Cannons = "rbxassetid://295109779"; Charlotte Hounds = "rbxassetid://295109787"; Chesapeake Bayhawks = "rbxassetid://295109793"; Denver Outlaws = "rbxassetid://295109800"; Florida Launch = "rbxassetid://295109807"; New York Lizards = "rbxassetid://295109824"; Ohio Machine = "rbxassetid://295109832";
Rbxassetid: is an image that will be placed into backdrop. However I want for like a certain team to have a backdrop. However, it is really confusing. So if your confused please ask questions, and I will do the best of my capability to answer them back.
THINGS TO NOTE: There are random teams, 2 selected, 1 which is Home , and another which is Away.
|
|
|
| Report Abuse |
|
|
|
| 27 Feb 2017 09:46 AM |
Sorry I meant that RBXassetid is the team picture.
|
|
|
| Report Abuse |
|
|
|
| 27 Feb 2017 09:50 AM |
| You could put a string value in each team with the assetid as the value. But there are hundreds of ways. |
|
|
| Report Abuse |
|
|
|
| 27 Feb 2017 09:56 AM |
Can you do an example for a string value.
|
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Feb 2017 10:01 AM |
Just right click the team and insert a string value. Call it Picture, and paste your assetid in the value.
Then do what Timeticks showed you in the other thread, but instead use team.Picture.Value |
|
|
| Report Abuse |
|
|
|
| 27 Feb 2017 10:09 AM |
Like this? gui.BackgroundColor3 = team.picture.value
|
|
|
| Report Abuse |
|
|
|
| 01 Mar 2017 10:34 AM |
Sorry, and you probably figured this out by now. Also, make sure you don't include the quotation marks when you copy paste the assestid.
Decal.Texture = team.Picture.Value
|
|
|
| Report Abuse |
|
|