Difference between revisions of "User:Michel Lemmon/Script Intermedio"
Jump to navigation
Jump to search
m (added to category) |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 48: | Line 48: | ||
} | } | ||
<div id="box"> | <div id="box"> | ||
==Debug== | ==Debug== | ||
Line 226: | Line 224: | ||
{ | { | ||
debug("received the command "+str+" transmitting to the window"); | debug("received the command "+str+" transmitting to the window"); | ||
llListenRemove(iLISTEN); | llListenRemove(iLISTEN); | ||
iLISTEN=0; | iLISTEN=0; | ||
Line 245: | Line 242: | ||
link_message(integer sender, integer num, string str, key id) | link_message(integer sender, integer num, string str, key id) | ||
{ | { | ||
if(num!=iCHANNEL) return; | |||
debug("Received command: "+str); | |||
if(str=="0%") llSetAlpha(1,ALL_SIDES); | |||
if(str=="50%") llSetAlpha(0.5,ALL_SIDES); | |||
if(str=="100%") llSetAlpha(0,ALL_SIDES); | |||
} | } | ||
} | } | ||
Line 284: | Line 281: | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
* interruttore che accende / spegne una luce. | * interruttore che accende / spegne una luce. | ||
si può usare llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, <1, 1, 1>, 1.0, 10.0 | si può usare llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, <1, 1, 1>, 1.0, 10.0]); | ||
</div> | </div> | ||
</div> | </div> | ||
Line 292: | Line 289: | ||
|} | |} | ||
[[User:Michel Lemmon|Michel Lemmon]] 20:00, 1 april 2008(PST) | [[User:Michel Lemmon|Michel Lemmon]] 20:00, 1 april 2008(PST) | ||
[[category:Pagine italiane da wikificare]] |
Latest revision as of 12:07, 1 November 2009
Michel Lemmon 20:00, 1 april 2008(PST)