removed useless _ folders
This commit is contained in:
3
Light_Bulb_Broadcaster/Light_Bulb_Broadcaster.sol
Normal file
3
Light_Bulb_Broadcaster/Light_Bulb_Broadcaster.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Light_Bulb_Broadcaster">
|
||||
<Project name="Light_Bulb_Broadcaster" path="Light_Bulb_Broadcaster\Light_Bulb_Broadcaster.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="Light_Bulb_Broadcaster" guid="D7536D09-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7536E02-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Light_Bulb_Broadcaster_1.lsl" guid="D75387E8-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
@@ -0,0 +1,43 @@
|
||||
// :CATEGORY:Light
|
||||
// :NAME:Light_Bulb_Broadcaster
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:38:56
|
||||
// :ID:468
|
||||
// :NUM:629
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Light Bulb Broadcaster.lsl
|
||||
// :CODE:
|
||||
|
||||
integer status = TRUE;
|
||||
integer passtouches = FALSE;
|
||||
list on = [PRIM_MATERIAL,PRIM_MATERIAL_LIGHT];
|
||||
list off = [PRIM_MATERIAL,PRIM_MATERIAL_GLASS];
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llSetPrimitiveParams(on);
|
||||
llPassTouches(passtouches);
|
||||
}
|
||||
|
||||
touch_start(integer total_number)
|
||||
{
|
||||
integer linkNum = llGetLinkNumber();
|
||||
|
||||
status = !status;
|
||||
|
||||
if(status){
|
||||
//llSetPrimitiveParams(on);
|
||||
llMessageLinked(LINK_ALL_OTHERS, 0, "", "on");
|
||||
}else{
|
||||
llMessageLinked(LINK_ALL_OTHERS, 0, "", "off");
|
||||
//llSetPrimitiveParams(off);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// END //
|
||||
Reference in New Issue
Block a user