You are viewing our Forum Archives. To view or take place in current topics click here.
| GSC | BO2 | Anyone mind explaining what this line does?
Posted:
| GSC | BO2 | Anyone mind explaining what this line does?Posted:
Status: Offline
Joined: Jan 27, 20159Year Member
Posts: 84
Reputation Power: 3
Status: Offline
Joined: Jan 27, 20159Year Member
Posts: 84
Reputation Power: 3
The line is below, I know that the numbers are for Color, Placement, etc. But I want to know which is which. I'm new to making menus, so I'm using a base and yeah. Thanks to anyone who helps out!
self.Menu.Material["Background"] = self SetMaterial("LEFT", "TOP", 120, 0, 240, 1000, (1,1,1), "black", 0, 0);
#2. Posted:
Status: Offline
Joined: May 07, 201113Year Member
Posts: 538
Reputation Power: 14
Status: Offline
Joined: May 07, 201113Year Member
Posts: 538
Reputation Power: 14
It looks like that would make a certain part of the menu black and most of those numbers are coordinates to where. But that's an educated guess from a computer science major. Havn't coded with that.
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 27, 20159Year Member
Posts: 84
Reputation Power: 3
Status: Offline
Joined: Jan 27, 20159Year Member
Posts: 84
Reputation Power: 3
Still need some help, anyone out there?
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Nov 23, 201014Year Member
Posts: 485
Reputation Power: 25
Edit: Its just the background of the menu
a sloppy explanation
self.Menu.Material["Background"] = self SetMaterial <-- Calling the Material which is the Background
(["LEFT", "TOP",] <--- where the menu will appear
120, 0, 240, 1000, not sure since i cant see the actual draw background code
{(1,1,1)} <-- Color using RGB??? i cant really look it up right now at school,
["black"] The Material of background
, 0, 0) same with the third one cant tell without the actual function code
a sloppy explanation
self.Menu.Material["Background"] = self SetMaterial <-- Calling the Material which is the Background
(["LEFT", "TOP",] <--- where the menu will appear
120, 0, 240, 1000, not sure since i cant see the actual draw background code
{(1,1,1)} <-- Color using RGB??? i cant really look it up right now at school,
["black"] The Material of background
, 0, 0) same with the third one cant tell without the actual function code
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.