Friday, November 21, 2008
USERLOGIN PASSWORD Remember?
You are here » Learning Center ยป Forums

Openlife Forums

 Openlife Grid Forums
Minimize
 
  Openlife Forums  Scripting  Openlife LSL Ex...  Color Changing Menu
Previous Previous
 
Next Next
New Post 8/23/2008 7:44 AM
User is offline Stefan
5 posts
Openlife Newbie


Color Changing Menu 
Didnt test on OL, But think itll work integer CHANNEL = 95; list MENU_MAIN = ["Color"]; list MENU_OPTIONS = ["Black", "Red", "Blue", "Yellow", "Green"]; default { state_entry() { llListen(CHANNEL, "", NULL_KEY, ""); } listen(integer channel, string name, key id, string message) { if (message == "Color") if(message == "Black") llSetColor(<0.00000, 0.00000, 0.00000>,0); if(message == "Red") llSetColor(<0.50196, 0.00000, 0.00000>,0); if(message == "Yellow") llSetColor(<1.00000, 1.00000, 0.00000>,0); if(message == "Blue") llSetColor(<0.00000, 0.00000, 0.50196>,0); if(message == "Green") { llSetColor(<0.00000, 0.50196, 0.00000>,0); }} }
 
Previous Previous
 
Next Next
  Openlife Forums  Scripting  Openlife LSL Ex...  Color Changing Menu
 Popular Forum Threads
Minimize
In the past 1 week, we have 65 new thread(s) and 256 new post(s)
The most popular thread has been GLBT Region?
The most active thread has been GLBT Region?
Privacy Statement | Terms Of UseAll Rights Reserved 2007,2008 3DX - Openlifegrid.com