<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MathieuBC+Noel</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=MathieuBC+Noel"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/MathieuBC_Noel"/>
	<updated>2026-07-28T00:02:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlCollisionFilter&amp;diff=473612</id>
		<title>LlCollisionFilter</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlCollisionFilter&amp;diff=473612"/>
		<updated>2009-08-27T20:44:05Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL_Function&lt;br /&gt;
|func_id=110|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|sort=CollisionFilter&lt;br /&gt;
|func=llCollisionFilter&lt;br /&gt;
|p1_type=string|p1_name=name&lt;br /&gt;
|p2_type=key|p2_name=id&lt;br /&gt;
|p3_type=integer|p3_name=accept&lt;br /&gt;
|func_footnote=if &#039;&#039;&#039;accept&#039;&#039;&#039; == {{LSLG|TRUE}}, only accept collisions with objects &#039;&#039;&#039;name&#039;&#039;&#039; and &#039;&#039;&#039;id&#039;&#039;&#039; (either is optional), otherwise with objects not &#039;&#039;&#039;name&#039;&#039;&#039; or &#039;&#039;&#039;id&#039;&#039;&#039;&lt;br /&gt;
|func_desc=Sets the collision filter, exclusively or inclusively.&lt;br /&gt;
|return_text&lt;br /&gt;
|spec&lt;br /&gt;
|caveats&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&lt;br /&gt;
Stop filtering:&lt;br /&gt;
&amp;lt;lsl&amp;gt;llCollisionFilter(&amp;quot;&amp;quot;, NULL_KEY, TRUE);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
Filter out all collisions:&lt;br /&gt;
&amp;lt;lsl&amp;gt;llCollisionFilter(&amp;quot;&amp;quot;, NULL_KEY, FALSE);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Complete script whit llcollisionfilter ==&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
//The stair sound script. Make a sculpted oe prim stair make sound when an avatar go up on down on It.&lt;br /&gt;
//MathieuBC Noel scripter and freebie maker. Don&#039;t erase that part when you use this script&lt;br /&gt;
key     id  ;  &lt;br /&gt;
 &lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
     collision_start(integer total_number)   //It&#039;s write colision start to notofy the computer that       &lt;br /&gt;
                                             //the next command line are going to work when the        &lt;br /&gt;
                                             //object detect an colision.&lt;br /&gt;
 &lt;br /&gt;
    {    &lt;br /&gt;
         if (AGENT)                          //The computer star to read the command line when It&#039;s &lt;br /&gt;
                                             //an avatar colide on this.&lt;br /&gt;
          {&lt;br /&gt;
           llGetAgentInfo( id );             //Agent key is get by the object.&lt;br /&gt;
 &lt;br /&gt;
           llCollisionFilter(&amp;quot;&amp;quot;, id, TRUE);  //You have an colision only whit an agant whit the key                  &lt;br /&gt;
                                             //taken by the object.&lt;br /&gt;
 &lt;br /&gt;
           llSensorRepeat( &amp;quot;&amp;quot;, id, AGENT, 3, PI,.7 ); //The sensor is sctivate each .7 second &lt;br /&gt;
 &lt;br /&gt;
             } &lt;br /&gt;
           else&lt;br /&gt;
             {  &lt;br /&gt;
               state off ;                    //If It&#039;s not an AGENT colision the computer must use     &lt;br /&gt;
                                              //the state off command line well below in the script &lt;br /&gt;
                                              //sheet.&lt;br /&gt;
 &lt;br /&gt;
               }&lt;br /&gt;
                }&lt;br /&gt;
               collision_end(integer total_number) &lt;br /&gt;
    {    &lt;br /&gt;
           llSensorRemove();                    //When the object did not detect an colision, the &lt;br /&gt;
                                                //sensor is remove &lt;br /&gt;
             } &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
             sensor(integer  total_number)       //This is the sensor action when It&#039;s activate whit &lt;br /&gt;
                                                 //the above command line in the begin of this sheet.&lt;br /&gt;
    { &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
         if(AGENT_WALKING)                       //If the sensor detect in his radius an Agent &lt;br /&gt;
                                                 //walking and running please dothe command line &lt;br /&gt;
                                                 //below.&lt;br /&gt;
 &lt;br /&gt;
            llPlaySound(&amp;quot;steps_on_wooden_stairs&amp;quot;, 1.0);  //Play the sound name I put in the &lt;br /&gt;
                                                         //inventory object. You can also copy and   &lt;br /&gt;
                                                         //past the UUID of the soung between the two &lt;br /&gt;
                                                         //&amp;quot; .&lt;br /&gt;
 &lt;br /&gt;
        else                                             //Otherwise (else), if the agent do nothing &lt;br /&gt;
                                                         //read orther command line.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
             llStopSound();                              //Stop sound&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 } &lt;br /&gt;
           land_collision_start(vector pos)              //If the object have an land colision follow &lt;br /&gt;
                                                         //the lines below.&lt;br /&gt;
 &lt;br /&gt;
{       llStopSound();                        &lt;br /&gt;
        llSensorRemove();                                //Remove the repeat sensor.&lt;br /&gt;
 &lt;br /&gt;
} &lt;br /&gt;
        } &lt;br /&gt;
 &lt;br /&gt;
       state off                                         //This is the state off apear in the beginig  &lt;br /&gt;
                                                         //of the script.                                   &lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
 &lt;br /&gt;
    llStopSound();                                       //Stop sound                  &lt;br /&gt;
    llCollisionFilter(&amp;quot;&amp;quot;, id, FALSE);                    //Stop the filtering of collision identity   &lt;br /&gt;
                                                         //and UIID detection to choose to have and  &lt;br /&gt;
                                                         //colision whit It. &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
state default ;                                               //Retun to the begening of the script                                                &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llPassCollisions]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llVolumeDetect]]|}}&lt;br /&gt;
|also_events=&lt;br /&gt;
{{LSL DefineRow||[[collision_start]]|}}&lt;br /&gt;
{{LSL DefineRow||[[collision]]|}}&lt;br /&gt;
{{LSL DefineRow||[[collision_end]]|}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes&lt;br /&gt;
|permission&lt;br /&gt;
|cat1=Collision&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlGetAgentInfo&amp;diff=473493</id>
		<title>LlGetAgentInfo</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlGetAgentInfo&amp;diff=473493"/>
		<updated>2009-08-27T18:22:16Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: I had a script that I build mysel A to Z whit commants insides&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Issues/SVC-3177}}{{LSL Function/avatar|id|sim=*}}{{LSL_Function&lt;br /&gt;
|func=llGetAgentInfo&lt;br /&gt;
|sort=GetAgentInfo&lt;br /&gt;
|func_id=206|func_sleep=0.0|func_energy=10.0&lt;br /&gt;
|return_type=integer|p1_type=key|p1_name=id&lt;br /&gt;
|func_footnote&lt;br /&gt;
|func_desc&lt;br /&gt;
|return_text=bitfield containing the agent information about &#039;&#039;&#039;id&#039;&#039;&#039;.&lt;br /&gt;
|spec&lt;br /&gt;
|caveats=*[[AGENT_BUSY]] indicates that the &amp;quot;busy&amp;quot; [[Internal Animations|internal animation]] is playing, even if the user is not truly in busy mode.&lt;br /&gt;
* [[AGENT_TYPING]] indicates that the &amp;quot;typing&amp;quot; internal animation is playing, it will not be set if the user disables [[Debug Settings|PlayTypingAnim]].&lt;br /&gt;
*[[AGENT_ALWAYS_RUN]]{{!}}[[AGENT_WALKING]] indicates that the user requested to run using standard viewer controls. Use [[llGetAnimation]] to also detect running caused by physics.&lt;br /&gt;
*This function does not return reliable information immediately after a border crossing. Use [[llGetAnimation]] instead, if you can. {{Jira|SVC-3177}}&lt;br /&gt;
|constants=&lt;br /&gt;
{{{!}}class=&amp;quot;wikitable sortable collapsible&amp;quot; {{Prettytable|style=margin-top:0;}}&lt;br /&gt;
{{!}}-{{Hl2}}&lt;br /&gt;
! Constant&lt;br /&gt;
! title=&amp;quot;Value&amp;quot; {{!}} {{HoverText|Val|Value}}&lt;br /&gt;
!class=&amp;quot;unsortable&amp;quot;{{!}} Returned if agent...&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_ALWAYS_RUN|integer|hex=0x1000|4096|c=has running ({{String|Always Run}}) enabled, or is using tap-tap-hold}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_ATTACHMENTS|integer|hex=0x0002|2|c=has attachments}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_AWAY|integer|hex=0x0040|64|c=is in {{String|away}} mode}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_BUSY|integer|hex=0x0800|2048|c=is in {{String|busy}} mode}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_CROUCHING|integer|hex=0x0400|1024|c=is crouching}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_FLYING|integer|hex=0x0001|1|c=is flying or hovering}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_IN_AIR|integer|hex=0x0100|256|c=is in the air (jumping, flying or falling)}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_MOUSELOOK|integer|hex=0x0008|8|c=is in mouselook}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_ON_OBJECT|integer|hex=0x0020|32|c=is sitting on an object}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_SCRIPTED|integer|hex=0x0004|4|c=has scripted attachments}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_SITTING|integer|hex=0x0010|16|c=is sitting}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_TYPING|integer|hex=0x0200|512|c=is typing}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{LSL Const|AGENT_WALKING|integer|hex=0x0080|128|c=is walking, running or crouch walking}}&lt;br /&gt;
{{!}}{{#var:value}}&lt;br /&gt;
{{!}}{{#var:comment}}&lt;br /&gt;
{{!}}}&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer buf)&lt;br /&gt;
    {&lt;br /&gt;
        buf = llGetAgentInfo(llDetectedKey(0));&lt;br /&gt;
        string out;&lt;br /&gt;
        if(buf &amp;amp; AGENT_FLYING)&lt;br /&gt;
            out += &amp;quot;The agent is flying.\n&amp;quot;;&lt;br /&gt;
        else&lt;br /&gt;
            out += &amp;quot;The agent is not flying.\n&amp;quot;;&lt;br /&gt;
        &lt;br /&gt;
        if(buf &amp;amp; AGENT_ATTACHMENTS)&lt;br /&gt;
        {&lt;br /&gt;
            if(buf &amp;amp; AGENT_SCRIPTED)&lt;br /&gt;
                out += &amp;quot;The agent has scripted attachments.\n&amp;quot;;&lt;br /&gt;
            else&lt;br /&gt;
                out += &amp;quot;The agent&#039;s attachments are unscripted.\n&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
            out += &amp;quot;The agent does not have attachments.\n&amp;quot;;&lt;br /&gt;
        &lt;br /&gt;
        if(buf &amp;amp; AGENT_MOUSELOOK)&lt;br /&gt;
            out += &amp;quot;the agent is in mouselook.&amp;quot;;&lt;br /&gt;
        else&lt;br /&gt;
            out += &amp;quot;the agent is in normal camera mode.&amp;quot;;&lt;br /&gt;
        llWhisper(0, out);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to build a script whit GetAgentInfo and sensor ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
//The stair sound script. Make a sculpted oe prim stair make sound when an avatar go up on down on It.&lt;br /&gt;
//MathieuBC Noel scripter and freebie maker. Don&#039;t erase that part when you use this script&lt;br /&gt;
key     id  ;  &lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
     collision_start(integer total_number)   //It&#039;s write colision start to notofy the computer that       &lt;br /&gt;
                                             //the next command line are going to work when the        &lt;br /&gt;
                                             //object detect an colision.&lt;br /&gt;
                                                   &lt;br /&gt;
    {    &lt;br /&gt;
         if (AGENT)                          //The computer star to read the command line when It&#039;s &lt;br /&gt;
                                             //an avatar colide on this.&lt;br /&gt;
          {&lt;br /&gt;
           llGetAgentInfo( id );             //Agent key is get by the object.&lt;br /&gt;
           &lt;br /&gt;
           llCollisionFilter(&amp;quot;&amp;quot;, id, TRUE);  //You have an colision only whit an agant whit the key                  &lt;br /&gt;
                                             //taken by the object.&lt;br /&gt;
           &lt;br /&gt;
           llSensorRepeat( &amp;quot;&amp;quot;, id, AGENT, 3, PI,.7 ); //The sensor is sctivate each .7 second &lt;br /&gt;
             &lt;br /&gt;
             } &lt;br /&gt;
           else&lt;br /&gt;
             {  &lt;br /&gt;
               state off ;                    //If It&#039;s not an AGENT colision the computer must use     &lt;br /&gt;
                                              //the state off command line well below in the script &lt;br /&gt;
                                              //sheet.&lt;br /&gt;
               &lt;br /&gt;
               }&lt;br /&gt;
                }&lt;br /&gt;
               collision_end(integer total_number) &lt;br /&gt;
    {    &lt;br /&gt;
           llSensorRemove();                    //When the object did not detect an colision, the &lt;br /&gt;
                                                //sensor is remove &lt;br /&gt;
             } &lt;br /&gt;
             &lt;br /&gt;
             &lt;br /&gt;
             &lt;br /&gt;
             sensor(integer  total_number)       //This is the sensor action when It&#039;s activate whit &lt;br /&gt;
                                                 //the above command line in the begin of this sheet.&lt;br /&gt;
    { &lt;br /&gt;
               &lt;br /&gt;
        &lt;br /&gt;
         if(AGENT_WALKING)                       //If the sensor detect in his radius an Agent &lt;br /&gt;
                                                 //walking and running please dothe command line &lt;br /&gt;
                                                 //below.&lt;br /&gt;
            &lt;br /&gt;
            llPlaySound(&amp;quot;steps_on_wooden_stairs&amp;quot;, 1.0);  //Play the sound name I put in the &lt;br /&gt;
                                                         //inventory object. You can also copy and   &lt;br /&gt;
                                                         //past the UUID of the soung between the two &lt;br /&gt;
                                                         //&amp;quot; .&lt;br /&gt;
        &lt;br /&gt;
        else                                             //Otherwise (else), if the agent do nothing &lt;br /&gt;
                                                         //read orther command line.&lt;br /&gt;
            &lt;br /&gt;
&lt;br /&gt;
             llStopSound();                              //Stop sound&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
 } &lt;br /&gt;
           land_collision_start(vector pos)              //If the object have an land colision follow &lt;br /&gt;
                                                         //the lines below.&lt;br /&gt;
    &lt;br /&gt;
{       llStopSound();                        &lt;br /&gt;
        llSensorRemove();                                //Remove the repeat sensor.&lt;br /&gt;
        &lt;br /&gt;
} &lt;br /&gt;
        } &lt;br /&gt;
        &lt;br /&gt;
       state off                                         //This is the state off apear in the beginig  &lt;br /&gt;
                                                         //of the script.                                   &lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        &lt;br /&gt;
    llStopSound();                                       //Stop sound                  &lt;br /&gt;
    llCollisionFilter(&amp;quot;&amp;quot;, id, FALSE);                    //Stop the filtering of collision identity   &lt;br /&gt;
                                                         //and UIID detection to choose to have and  &lt;br /&gt;
                                                         //colision whit It. &lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
state default ;                                               //Retun to the begening of the script                                                &lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
    &lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llRequestAgentData]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAnimation]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetAnimationList]]|}}&lt;br /&gt;
|also_events&lt;br /&gt;
|also_tests=&lt;br /&gt;
{{LSL DefineRow||[[llGetAgentInfo_Test]]|}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|notes=This is not a good way of testing if an avatar is in the region, use [[llGetAgentSize]] instead.&lt;br /&gt;
|cat1=Avatar&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE/fr&amp;diff=167053</id>
		<title>PRIM SIZE/fr</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE/fr&amp;diff=167053"/>
		<updated>2008-12-07T17:10:05Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:size_const|{{LSL Const/fr|PRIM_SIZE|integer|7|c=Utilisé pour {{GetSet/fr|{{{1|}}}|obtenir|renvoyer|/}} la taille de la prim.}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_size_desc|va de 0.01 à 10.0 pour x, y et z}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant/fr&lt;br /&gt;
|name=PRIM_SIZE&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=Renvoie ou modifie la taille de la prim. &lt;br /&gt;
|pa={{LSL Constant/List/fr|i_front=[&amp;amp;#32;{{#var:size_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=Lorsque utilisé avec [[llSetPrimitiveParams/fr|llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]&lt;br /&gt;
|i1_type=vector|i1_name=size|i1_disp=taille&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|pb={{LSL Constant/List/fr|i_front=[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:size_const}}|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Renvoie le list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text&lt;br /&gt;
|r1_type=vector|r1_name=size|r1_disp=taille&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&lt;br /&gt;
Utiliser l&#039;exemple PRIM_SIZE ci-dessou  &lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//MathieuBC Noel scripteur&lt;br /&gt;
  default&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer total_number)&lt;br /&gt;
    {&lt;br /&gt;
 &lt;br /&gt;
        &lt;br /&gt;
 llSetPrimitiveParams([ PRIM_SIZE ,&amp;lt;0.669,0.726,10.368&amp;gt;, &lt;br /&gt;
          PRIM_ROTATION, &amp;lt;1,0,0,0&amp;gt; ]);&lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
} &amp;lt;/lsl&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]|Renvoie les paramètres d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams/fr|llSetPrimitiveParams]]|Modifie les paramètres d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]|Modifie les paramètres d&#039;une prim liée.}}&lt;br /&gt;
{{LSL DefineRow||[[llGetScale/fr|llGetScale]]|Renvoie la taile d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetScale/fr|llSetScale]]|Modifie la taille d&#039;une prim.}}&lt;br /&gt;
|events=&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim/fr&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE/fr&amp;diff=166313</id>
		<title>PRIM SIZE/fr</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE/fr&amp;diff=166313"/>
		<updated>2008-12-06T18:51:54Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:size_const|{{LSL Const/fr|PRIM_SIZE|integer|7|c=Utilisé pour {{GetSet/fr|{{{1|}}}|obtenir|renvoyer|/}} la taille de la prim.}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_size_desc|va de 0.01 à 10.0 pour x, y et z}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant/fr&lt;br /&gt;
|name=PRIM_SIZE&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=Renvoie ou modifie la taille de la prim. &lt;br /&gt;
|pa={{LSL Constant/List/fr|i_front=[&amp;amp;#32;{{#var:size_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=Lorsque utilisé avec [[llSetPrimitiveParams/fr|llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]&lt;br /&gt;
|i1_type=vector|i1_name=size|i1_disp=taille&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|pb={{LSL Constant/List/fr|i_front=[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:size_const}}|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Renvoie le list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text&lt;br /&gt;
|r1_type=vector|r1_name=size|r1_disp=taille&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&lt;br /&gt;
Utiliser l&#039;exemple PRIM_SIZE ci-dessou  &lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//MathieuBC Noel scripteur&lt;br /&gt;
  default&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer total_number)&lt;br /&gt;
    {&lt;br /&gt;
 &lt;br /&gt;
        &lt;br /&gt;
 llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_BOX, &lt;br /&gt;
                                PRIM_HOLE_SQUARE  ,           // hole_shape&lt;br /&gt;
                            &lt;br /&gt;
                            &amp;lt;0.00, 1.0, 0.0&amp;gt;,   // cut&lt;br /&gt;
                                95,                    // hollow&lt;br /&gt;
                            &amp;lt;180.0, 0.0, 0.0&amp;gt;,    // twist&lt;br /&gt;
                            &amp;lt;-0, .0, 1.0&amp;gt;,    // top_size&lt;br /&gt;
                            &amp;lt;0.0, 0.0, 0.0&amp;gt; ,    // top_Shear&lt;br /&gt;
                          PRIM_SIZE ,&amp;lt;0.669,0.726,10.368&amp;gt;, PRIM_ROTATION, &amp;lt;1,0,0,0&amp;gt; ]);&lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
} &amp;lt;/lsl&amp;gt; &lt;br /&gt;
== Inconvénients ==&lt;br /&gt;
&lt;br /&gt;
-La fonction prim_size ne fonctionne pas seul comme le fait la fonction llSetScale. Vous devez absolument introduire le drapeau prim_size dans une ligne de code décrivant les paramètres d&#039;un primitif.&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]|Renvoie les paramètres d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams/fr|llSetPrimitiveParams]]|Modifie les paramètres d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]|Modifie les paramètres d&#039;une prim liée.}}&lt;br /&gt;
{{LSL DefineRow||[[llGetScale/fr|llGetScale]]|Renvoie la taile d&#039;une prim.}}&lt;br /&gt;
{{LSL DefineRow||[[llSetScale/fr|llSetScale]]|Modifie la taille d&#039;une prim.}}&lt;br /&gt;
|events=&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim/fr&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166303</id>
		<title>PRIM SIZE</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166303"/>
		<updated>2008-12-06T18:43:12Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim&#039;s size}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_SIZE&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=Returns or sets the prim&#039;s size. &lt;br /&gt;
|pa={{LSL Constant/List|i_front=[&amp;amp;#32;{{#var:size_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=When used with [[llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams]]&lt;br /&gt;
|i1_type=vector|i1_name=size&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:size_const}}|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Returns the list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text&lt;br /&gt;
|r1_type=vector|r1_name=size&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&lt;br /&gt;
Use the PRIM_SIZE exemple  &lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//MathieuBC Noel scripter&lt;br /&gt;
  default&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer total_number)&lt;br /&gt;
    {&lt;br /&gt;
 &lt;br /&gt;
        &lt;br /&gt;
 llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_BOX, &lt;br /&gt;
                                PRIM_HOLE_SQUARE  ,           // hole_shape&lt;br /&gt;
                            &lt;br /&gt;
                            &amp;lt;0.00, 1.0, 0.0&amp;gt;,   // cut&lt;br /&gt;
                                95,                    // hollow&lt;br /&gt;
                            &amp;lt;180.0, 0.0, 0.0&amp;gt;,    // twist&lt;br /&gt;
                            &amp;lt;-0, .0, 1.0&amp;gt;,    // top_size&lt;br /&gt;
                            &amp;lt;0.0, 0.0, 0.0&amp;gt; ,    // top_Shear&lt;br /&gt;
                          PRIM_SIZE ,&amp;lt;0.669,0.726,10.368&amp;gt;, PRIM_ROTATION, &amp;lt;1,0,0,0&amp;gt; ]);&lt;br /&gt;
 &lt;br /&gt;
    }&lt;br /&gt;
} &amp;lt;/lsl&amp;gt; &lt;br /&gt;
== Canevas ==&lt;br /&gt;
-The prim_size don&#039;t work alone as the llSetScale. You must add the prim_size in the code line of a spécific primitive you set.&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetScale]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetScale]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166293</id>
		<title>PRIM SIZE</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166293"/>
		<updated>2008-12-06T18:34:33Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim&#039;s size}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_SIZE&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=Returns or sets the prim&#039;s size. &lt;br /&gt;
|pa={{LSL Constant/List|i_front=[&amp;amp;#32;{{#var:size_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=When used with [[llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams]]&lt;br /&gt;
|i1_type=vector|i1_name=size&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:size_const}}|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Returns the list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text&lt;br /&gt;
|r1_type=vector|r1_name=size&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&lt;br /&gt;
Use thePRIM_SIZE and ad an (,) after that the size you want.  &lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
//MathieuBC Noel scripter&lt;br /&gt;
	touch_start(integer total_number)&lt;br /&gt;
	{&lt;br /&gt;
    &lt;br /&gt;
        llSetPos( llGetScale( )+ llGetPos() + &amp;lt;0,0,-1&amp;gt;);&lt;br /&gt;
        &lt;br /&gt;
        llGetPrimitiveParams([ PRIM_SIZE, &amp;lt;1.148,0.081,0.313&amp;gt; ]); &lt;br /&gt;
        }&lt;br /&gt;
       &lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
} &amp;lt;/lsl&amp;gt; &lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetScale]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetScale]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166273</id>
		<title>PRIM SIZE</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_SIZE&amp;diff=166273"/>
		<updated>2008-12-06T18:27:45Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim&#039;s size}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_SIZE&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=Returns or sets the prim&#039;s size. &lt;br /&gt;
|pa={{LSL Constant/List|i_front=[&amp;amp;#32;{{#var:size_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=When used with [[llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams]]&lt;br /&gt;
|i1_type=vector|i1_name=size&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:size_const}}|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Returns the list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text&lt;br /&gt;
|r1_type=vector|r1_name=size&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
}}&lt;br /&gt;
|examples&lt;br /&gt;
&amp;lt;lsl&amp;gt; &lt;br /&gt;
//MathieuBC Noel scripter&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
   &lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer total_number)&lt;br /&gt;
	{&lt;br /&gt;
&lt;br /&gt;
        &lt;br /&gt;
        llSetPos( llGetScale( )+ llGetPos() + &amp;lt;0,0,-1&amp;gt;);&lt;br /&gt;
        &lt;br /&gt;
        llGetPrimitiveParams([ PRIM_SIZE, &amp;lt;1.148,0.081,0.313&amp;gt; ]); &lt;br /&gt;
        }&lt;br /&gt;
       &lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
llGetPrimitiveParams([ PRIM_SIZE, &amp;lt;1.148,0.081,0.313&amp;gt; ]); &lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetScale]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetScale]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlRezObject&amp;diff=81976</id>
		<title>LlRezObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlRezObject&amp;diff=81976"/>
		<updated>2008-08-01T14:55:27Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL_Function/inventory|inventory|uuid=false|type=object}}&lt;br /&gt;
{{LSL_Function&lt;br /&gt;
|func_id=104|func_sleep=0.1|func_energy=200.0&lt;br /&gt;
|func=llRezObject|sort=RezObject&lt;br /&gt;
|p1_type=string|p1_name=inventory&lt;br /&gt;
|p2_type=vector|p2_name=pos|p2_desc=position (in [[Viewer coordinate frames#Region|region coordinates]])|p2_hover=position (in region coordinates)&lt;br /&gt;
|p3_type=vector|p3_name=vel|p3_desc=velocity (max [[llVecMag|magnitude]] is 250)&lt;br /&gt;
|p4_type=rotation|p4_name=rot|p4_desc=rotation&lt;br /&gt;
|p5_type=integer|p5_name=param|p5_desc=[[on_rez]] event parameter and value returned by [[llGetStartParameter]] in the rezzed object.|p5_hover=on_rez event parameter and value returned by llGetStartParameter in the rezzed object.&lt;br /&gt;
|func_footnote=The root of &#039;&#039;&#039;inventory&#039;&#039;&#039; is not at &#039;&#039;&#039;pos&#039;&#039;&#039; but the center of &#039;&#039;&#039;inventory&#039;&#039;&#039; is.&amp;lt;br/&amp;gt;To have the root prim at &#039;&#039;&#039;pos&#039;&#039;&#039; use [[llRezAtRoot]] instead.&lt;br /&gt;
|func_desc=Instantiate &#039;&#039;&#039;inventory&#039;&#039;&#039; object at &#039;&#039;&#039;pos&#039;&#039;&#039; with velocity &#039;&#039;&#039;vel&#039;&#039;&#039; and rotation &#039;&#039;&#039;rot&#039;&#039;&#039; with start parameter &#039;&#039;&#039;param&#039;&#039;&#039;&lt;br /&gt;
|return_text&lt;br /&gt;
|spec&lt;br /&gt;
|caveats=&lt;br /&gt;
*In addition to the normal function delay, there is an additional delay based on the mass and velocity of the object rezzed.&lt;br /&gt;
**&amp;lt;code&amp;gt;rez_delay = mass * llVecMag(velocity) / 10;&amp;lt;/code&amp;gt; [http://forums.secondlife.com/showthread.php?t=82659]&lt;br /&gt;
*Rot function have 4 numbers to rotate the rez object like this one &amp;lt;0.0,0.0,0.0,1.0&amp;gt; on the Z axis , Y axis and X axis. It depend where the number is place on the coordinate parenthesis. Negative number is require and no number up to 1. If you have one tin square, the first two digits rez the object up side down your square horizontally.The coordinate &amp;lt;1,1,0,0&amp;gt; rez the object up side down but in the same direction of the primitive that rez the object whit no Z rotation axis. If &amp;lt;1,0,0,0&amp;gt; the object turn 90 degree left. If &amp;lt;1,.5,0,0&amp;gt; the object is rezz 45 degree up side down left side. So you need to do an convertion ( .5 x 90 degrees = 45 degree).  If &amp;lt;0,0,1,1&amp;gt; the object is the correctly whit no rotation.&amp;lt;0,0,1,.5&amp;gt; the object is rez 45 degree rotation  on right side on Z axis.But If you put &amp;lt;-1,0,1,0&amp;gt; the object rotate 180 degrees on his X axis. Where that become complicated is when the number 1 or 1&amp;lt; is on two separate place like this one &amp;lt;0,1,0,1&amp;gt;. In this position the coordinate rez the object on the X axis or if you prefer rotate before you see it on the X axis.  rez the tin square vertically point on left side and rotate It on the X axis. If you put  the tin plate rotate 180 degree on the X axis point on left. Even if the coordinate is &amp;lt;0,1,0,1&amp;gt; butt are going to show another oposite face of the prim.So if coordinate is negative ,the square point to the right direction.Be carful, whit -1 the sqare did not point to right&amp;lt;-1,0,-1,0&amp;gt; Is&#039;s point to the left as the sames &amp;lt;1,0,1,0&amp;gt; coordinate.  Now, if the two numbers that not exceede one (1&amp;lt;) are in the two extremity like this . The object will appear on the Y axis point to the negative side of Y asix. To do the opposite action on the Y asix, you put the number 1 like this &amp;lt;0,1,1,0&amp;gt;. So the object are doing to rotate 180 degrees on X asix if you prefer that way to see.&lt;br /&gt;
*Silently fails to rez &#039;&#039;&#039;inventory&#039;&#039;&#039; if &#039;&#039;&#039;pos&#039;&#039;&#039; is more than 10 meters away.  So if your script is mysteriously failing to rez things, make sure you haven&#039;t (say) written &amp;quot;&amp;lt;0,0,1&amp;gt;&amp;quot; for the &#039;&#039;&#039;pos&#039;&#039;&#039; parameter rather than (say) &amp;quot;llGetPos() + &amp;lt;0,0,1&amp;gt;&amp;quot;.&lt;br /&gt;
* If the owner of the object does not have copy permission  on &#039;&#039;&#039;inventory&#039;&#039;&#039;, the object will no longer be present in inventory after it is rezed (so another attempt to rez it is likely to fail); if the owner does have copy permission, then a copy is rezed, and the original &#039;&#039;&#039;inventory&#039;&#039;&#039; remains in inventory.&lt;br /&gt;
*Silently fails if you don&#039;t have offline building rights on the land. Which means that you need to either: Own the land yourself. Be in the group that owns it, and the allow group to build parcel flag has to be enabled. Or everyone should be allowed to build. You can also deed the object to the group that owns the land, this will always work.|constants&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|examples=&amp;lt;lsl&amp;gt;default&lt;br /&gt;
{&lt;br /&gt;
     touch_start(integer param)&lt;br /&gt;
     {&lt;br /&gt;
          llRezObject(&amp;quot;Object&amp;quot;, llGetPos() + &amp;lt;0.0,0.0,1.0&amp;gt;, &amp;lt;0.0,0.0,0.0&amp;gt;, &amp;lt;0.0,0.0,0.0,1.0&amp;gt;, 0);&lt;br /&gt;
     }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llRezAtRoot]]|Rezzes the object at the requested position}}&lt;br /&gt;
{{LSL DefineRow||[[llGetStartParameter]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGodLikeRezObject]]|}}&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_events=&lt;br /&gt;
{{LSL DefineRow||[[object_rez]]|triggered when this object rezzes an object from inventory}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|note_rotation=&lt;br /&gt;
|notes&lt;br /&gt;
|permission&lt;br /&gt;
|inventory&lt;br /&gt;
|negative_index&lt;br /&gt;
|cat1=Rez&lt;br /&gt;
|cat2=Object&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlRezObject&amp;diff=81882</id>
		<title>LlRezObject</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlRezObject&amp;diff=81882"/>
		<updated>2008-08-01T01:21:59Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL_Function/inventory|inventory|uuid=false|type=object}}&lt;br /&gt;
{{LSL_Function&lt;br /&gt;
|func_id=104|func_sleep=0.1|func_energy=200.0&lt;br /&gt;
|func=llRezObject|sort=RezObject&lt;br /&gt;
|p1_type=string|p1_name=inventory&lt;br /&gt;
|p2_type=vector|p2_name=pos|p2_desc=position (in [[Viewer coordinate frames#Region|region coordinates]])|p2_hover=position (in region coordinates)&lt;br /&gt;
|p3_type=vector|p3_name=vel|p3_desc=velocity (max [[llVecMag|magnitude]] is 250)&lt;br /&gt;
|p4_type=rotation|p4_name=rot|p4_desc=rotation&lt;br /&gt;
|p5_type=integer|p5_name=param|p5_desc=[[on_rez]] event parameter and value returned by [[llGetStartParameter]] in the rezzed object.|p5_hover=on_rez event parameter and value returned by llGetStartParameter in the rezzed object.&lt;br /&gt;
|func_footnote=The root of &#039;&#039;&#039;inventory&#039;&#039;&#039; is not at &#039;&#039;&#039;pos&#039;&#039;&#039; but the center of &#039;&#039;&#039;inventory&#039;&#039;&#039; is.&amp;lt;br/&amp;gt;To have the root prim at &#039;&#039;&#039;pos&#039;&#039;&#039; use [[llRezAtRoot]] instead.&lt;br /&gt;
|func_desc=Instantiate &#039;&#039;&#039;inventory&#039;&#039;&#039; object at &#039;&#039;&#039;pos&#039;&#039;&#039; with velocity &#039;&#039;&#039;vel&#039;&#039;&#039; and rotation &#039;&#039;&#039;rot&#039;&#039;&#039; with start parameter &#039;&#039;&#039;param&#039;&#039;&#039;&lt;br /&gt;
|return_text&lt;br /&gt;
|spec&lt;br /&gt;
|caveats=&lt;br /&gt;
*In addition to the normal function delay, there is an additional delay based on the mass and velocity of the object rezzed.&lt;br /&gt;
**&amp;lt;code&amp;gt;rez_delay = mass * llVecMag(velocity) / 10;&amp;lt;/code&amp;gt; [http://forums.secondlife.com/showthread.php?t=82659]&lt;br /&gt;
*Rot function have 4 number to rotate the rezz object like this one &amp;lt;0.0,0.0,0.0,1.0&amp;gt; on the Z axix , Y axis and X axis. It depend where the number is place on the coordinate parentesis. Negative number is require and no number up to 1. If you have one tin sqare, the first two digits rezz the object up side down your sqare horizontaly.The coordinate &amp;lt;1,1,0,0&amp;gt; rezz the objet up side down but in the same direction of the primitive that rezz the object whit no Z rotation axis. If &amp;lt;1,0,0,0&amp;gt; the object turn 90 degree left. If &amp;lt;1,.5,0,0&amp;gt; the object is rezz 45 degree up side down left side.If &amp;lt;0,0,1,1&amp;gt; the object is the correctly whit no rotation.&amp;lt;0,0,1,.5&amp;gt; the object is rezz 45 degree rotation  on right side on Z axis. Where that become complicated is when the number 1 or 1&amp;lt; is on two seperate place like this one &amp;lt;0,1,0,1&amp;gt;. In this position the coordinate rezz the object on the X axis or if you prefer rotate before you see it on the X axis.  rezz the tin sqare veticaly point on left side and rotate It on the X axis. If you put &amp;lt;1,0,1,0&amp;gt; the tin plate rotate 180 degree on the X axis point on left.So if coordinate is negative &amp;lt;0,-1,0,-1&amp;gt;. The sqare point to the right direction.&amp;lt;-1,0,-1,0&amp;gt; point to the left.&lt;br /&gt;
*Silently fails to rez &#039;&#039;&#039;inventory&#039;&#039;&#039; if &#039;&#039;&#039;pos&#039;&#039;&#039; is more than 10 meters away.  So if your script is mysteriously failing to rez things, make sure you haven&#039;t (say) written &amp;quot;&amp;lt;0,0,1&amp;gt;&amp;quot; for the &#039;&#039;&#039;pos&#039;&#039;&#039; parameter rather than (say) &amp;quot;llGetPos() + &amp;lt;0,0,1&amp;gt;&amp;quot;.&lt;br /&gt;
* If the owner of the object does not have copy permission  on &#039;&#039;&#039;inventory&#039;&#039;&#039;, the object will no longer be present in inventory after it is rezzed (so another attempt to rez it is likely to fail); if the owner does have copy permission, then a copy is rezzed, and the original &#039;&#039;&#039;inventory&#039;&#039;&#039; remains in inventory.&lt;br /&gt;
*Silently fails if you don&#039;t have offline building rights on the land. Which means that you need to either: Own the land yourself. Be in the group that owns it, and the allow group to build parcel flag has to be enabled. Or everyone should be allowed to build. You can also deed the object to the group that owns the land, this will always work.|constants&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|examples=&amp;lt;lsl&amp;gt;default&lt;br /&gt;
{&lt;br /&gt;
     touch_start(integer param)&lt;br /&gt;
     {&lt;br /&gt;
          llRezObject(&amp;quot;Object&amp;quot;, llGetPos() + &amp;lt;0.0,0.0,1.0&amp;gt;, &amp;lt;0.0,0.0,0.0&amp;gt;, &amp;lt;0.0,0.0,0.0,1.0&amp;gt;, 0);&lt;br /&gt;
     }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_functions=&lt;br /&gt;
{{LSL DefineRow||[[llRezAtRoot]]|Rezzes the object at the requested position}}&lt;br /&gt;
{{LSL DefineRow||[[llGetStartParameter]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGodLikeRezObject]]|}}&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_events=&lt;br /&gt;
{{LSL DefineRow||[[object_rez]]|triggered when this object rezzes an object from inventory}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|note_rotation=&lt;br /&gt;
|notes&lt;br /&gt;
|permission&lt;br /&gt;
|inventory&lt;br /&gt;
|negative_index&lt;br /&gt;
|cat1=Rez&lt;br /&gt;
|cat2=Object&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlCreateLink&amp;diff=81534</id>
		<title>LlCreateLink</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlCreateLink&amp;diff=81534"/>
		<updated>2008-07-30T19:29:59Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL_Function/permission|PERMISSION_CHANGE_LINKS|grant=the owner}}{{LSL_Function&lt;br /&gt;
|func_id=141|func_sleep=1.0|func_energy=10.0&lt;br /&gt;
|func=llCreateLink|sort=CreateLink&lt;br /&gt;
|p1_type=key|p1_name=target|p1_desc=A prim in the same region.&lt;br /&gt;
|p2_type=integer|p2_name=parent|p2_desc=If [[FALSE]], then &#039;&#039;&#039;target&#039;&#039;&#039; becomes the root. If [[TRUE]], then the script&#039;s object becomes the root.&lt;br /&gt;
|func_footnote=&#039;&#039;&#039;target&#039;&#039;&#039; must be modifiable and have the same owner.&amp;lt;br/&amp;gt;&lt;br /&gt;
This object must also be modifiable.&lt;br /&gt;
|func_desc=Attempt to link the script&#039;s object with &#039;&#039;&#039;target&#039;&#039;&#039;.&lt;br /&gt;
|spec=The prims for the child object (&#039;&#039;&#039;target&#039;&#039;&#039; if &#039;&#039;&#039;parent&#039;&#039;&#039; is [[TRUE]], script&#039;s object if &#039;&#039;&#039;parent&#039;&#039;&#039; is [[FALSE]]) are inserted into the parent object&#039;s link set starting at link number 2. For example, if the link order for the parent object is A1, A2, A3 and the link order of the child object is B1, B2, B3, then the link order of the resulting object will be A1, B1, B2, B3, A2, A3.&lt;br /&gt;
|caveats=*If &#039;&#039;&#039;target&#039;&#039;&#039; is not in the region, not a prim, or is attached to an avatar, an error is shouted on [[DEBUG_CHANNEL]].&lt;br /&gt;
*If either the object or the &#039;&#039;&#039;target&#039;&#039;&#039; are not modifiable or of different owners, then an error is shouted on [[DEBUG_CHANNEL]].&lt;br /&gt;
*If the the parent object and &#039;&#039;&#039;target&#039;&#039;&#039; are too far apart (based on their physical size), they will fail to link.&lt;br /&gt;
**The maximum distance is further explained here: [[Linkability Rules]]&lt;br /&gt;
*This function silently fails if called from a script inside an attachment.&lt;br /&gt;
|constants&lt;br /&gt;
|examples=&amp;lt;lsl&amp;gt;// Create a new object and link it as a child prim.&lt;br /&gt;
string ObjectName = &amp;quot;Object Name Here&amp;quot;;&lt;br /&gt;
// NOTE: must be a name of an object in this object&#039;s inventory.&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer count)&lt;br /&gt;
    {&lt;br /&gt;
        // When the object is touched, make sure we can do this before trying.&lt;br /&gt;
        llRequestPermissions(llGetOwner(), PERMISSION_CHANGE_LINKS);&lt;br /&gt;
    }&lt;br /&gt;
    run_time_permissions(integer perm)&lt;br /&gt;
    {&lt;br /&gt;
        // Only bother rezzing the object if will be able to link it.&lt;br /&gt;
        if (perm &amp;amp; PERMISSION_CHANGE_LINKS)&lt;br /&gt;
            llRezObject(ObjectName, llGetPos() + &amp;lt;0,0,0.5&amp;gt;, ZERO_VECTOR, llGetRot(), 0);&lt;br /&gt;
        else&lt;br /&gt;
            llOwnerSay(&amp;quot;Sorry, we can&#039;t link.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    object_rez(key id)&lt;br /&gt;
    {&lt;br /&gt;
        // NOTE: under some conditions, this could fail to work.&lt;br /&gt;
        // This is the parent object.  Create a link to the newly-created child.&lt;br /&gt;
        llCreateLink(id, TRUE);&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|helpers=&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
// child prim key&lt;br /&gt;
key kChild = NULL_KEY;&lt;br /&gt;
integer bLink = TRUE;       // we suppose this script is on a linked object&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    &lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        // get the permission to change the link&lt;br /&gt;
        llRequestPermissions(llGetOwner(), PERMISSION_CHANGE_LINKS);&lt;br /&gt;
                &lt;br /&gt;
        // get the child key&lt;br /&gt;
        kChild = llGetLinkKey(2);&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer nTotalCliquor)&lt;br /&gt;
    {&lt;br /&gt;
        if (bLink)&lt;br /&gt;
        {&lt;br /&gt;
            // break all my links, wait 1.5 sec&lt;br /&gt;
            llBreakAllLinks();&lt;br /&gt;
            llSleep(1.5);&lt;br /&gt;
            &lt;br /&gt;
            // i&#039;m unlinked&lt;br /&gt;
            llSay(0, &amp;quot;Unlinked, click to link&amp;quot;);&lt;br /&gt;
            bLink = FALSE;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            // redo my link&lt;br /&gt;
            llCreateLink(kChild, TRUE);   &lt;br /&gt;
            llSleep(1.5);&lt;br /&gt;
            &lt;br /&gt;
            // i&#039;m linked&lt;br /&gt;
            llSay(0, &amp;quot;Linked, click to unlink&amp;quot;);&lt;br /&gt;
            bLink = TRUE;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}               &lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|also_functions={{LSL DefineRow||[[llBreakLink]]|Break a link}}&lt;br /&gt;
{{LSL DefineRow||[[llBreakAllLinks]]|Break all links}}&lt;br /&gt;
|also_tests&lt;br /&gt;
|also_events={{LSL DefineRow||[[changed]]|[[CHANGED_LINK]]}}&lt;br /&gt;
|also_articles=&lt;br /&gt;
{{LSL DefineRow||[[Linkability Rules]]|}}&lt;br /&gt;
|notes&lt;br /&gt;
|cat1=Link&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_GLOW&amp;diff=75749</id>
		<title>PRIM GLOW</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_GLOW&amp;diff=75749"/>
		<updated>2008-07-02T00:47:09Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_intensity_desc|ranges from 0.0 to 1.0}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:return|[&amp;amp;nbsp;{{HoverText|0.0|float intensity}}&amp;amp;nbsp;]}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:glow_const|{{LSL Const|PRIM_GLOW|integer|25|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the glow of a prim&#039;s face}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:facetable|{{#var:facetable}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} [ {{#var:glow_const}} ]&lt;br /&gt;
{{!}} {{#var:return}} }}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}}&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_GLOW&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=25&lt;br /&gt;
|desc=PRIM_GLOW is used to get or set the glow status of the {{LSL Param|face}}. Use the integer number 25 if the compiler rejects the named constant.&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[&amp;amp;#32;{{#var:glow_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=When used with [[llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams]]&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
|i1_type=integer|i1_name=face&lt;br /&gt;
|i2_type=float|i2_name=intensity}}&lt;br /&gt;
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:glow_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Returns the list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=&#039;&#039;&#039;Caveats:&#039;&#039;&#039;&lt;br /&gt;
{{#var:caveats}}{{#vardefine:caveats}}&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
|i1_type=integer|i1_name=face&lt;br /&gt;
|r1_type=float|r1_name=intensity&lt;br /&gt;
}}&lt;br /&gt;
|examples=&amp;lt;lsl&amp;gt;//Each time the prim is touched, the intensity of the glow is increased (until it maxes out and cycles back to zero).&lt;br /&gt;
integer PRIM_GLOW = 25;&lt;br /&gt;
integer steps = 10;&lt;br /&gt;
integer counter = 0;&lt;br /&gt;
&lt;br /&gt;
default &lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  counter / (steps - 1.0) ]);&lt;br /&gt;
        counter = (counter + 1) % steps;&lt;br /&gt;
    } &lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&amp;lt;lsl&amp;gt;//Each time the prim is touched, the intensity of the glow is decreased (until it hits zero and cycles back to one).&lt;br /&gt;
integer PRIM_GLOW = 25;&lt;br /&gt;
integer steps = 10;&lt;br /&gt;
integer counter = 0;&lt;br /&gt;
&lt;br /&gt;
default &lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  counter / (steps - 1.0) ]);&lt;br /&gt;
        counter = (counter + steps - 1) % steps;&lt;br /&gt;
    } &lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|CHANGED_TEXTURE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|history=Added in {{SVN|337|rev=81900|branch=Release|ver=1.20.0|anchor=file6|date=Monday, 10 March 2008}}&lt;br /&gt;
|cat1=Face&lt;br /&gt;
|cat2=Prim&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75145</id>
		<title>PRIM TYPE SCULPT</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75145"/>
		<updated>2008-06-28T15:46:19Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:type_sculpt_const|{{LSL Const|PRIM_TYPE_SCULPT|integer|7|c=A parameter of PRIM_TYPE used to make prim into a sculpty and to change specific properties that define it&#039;s shape and type.}}}}&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/inventory|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}&lt;br /&gt;
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_TYPE_SCULPT&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=PRIM_TYPE_SCULPT is a parameter of [[PRIM_TYPE]] used to make a prim into a sculpty of specific shape and type.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Sculpted Prims: FAQ]]&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[ {{LSL_Const|PRIM_TYPE|integer|9}}, [[PRIM_TYPE_SCULPT]],&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=For use with [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]]&lt;br /&gt;
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}&lt;br /&gt;
|i1_type=string |i1_name=map&lt;br /&gt;
|i2_type=integer|i2_name=type&lt;br /&gt;
|toc=PRIM_TYPE&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_SCULPT, &lt;br /&gt;
                            &amp;quot;d962089b-2197-993c-9ec9-4993eb0a95f2&amp;quot;,  // sculpty texture&lt;br /&gt;
                            PRIM_SCULPT_TYPE_SPHERE                  // type&lt;br /&gt;
                      ]);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&amp;lt;lsl&amp;gt;//Rotates between the different sculpt types.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer a)&lt;br /&gt;
    {&lt;br /&gt;
        list b = llGetPrimitiveParams([PRIM_TYPE]);&lt;br /&gt;
        integer type = llList2Integer(b,2) % 4;&lt;br /&gt;
        llSetObjectDesc(llList2String([ &amp;quot;Sphere&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Torus&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Plane&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Cylinder&amp;quot;], type));&lt;br /&gt;
        llSetPrimitiveParams(PRIM_TYPE + llList2List(b, 0, 1) + (type + 1));&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;//A simple script to setup a prim as a sculpty.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSetPrimitiveParams([&lt;br /&gt;
            PRIM_TYPE, PRIM_TYPE_SCULPT, &amp;quot;your Sculpt map name in the object&amp;quot;, PRIM_SCULPT_TYPE_SPHERE&lt;br /&gt;
          , PRIM_TEXTURE, ALL_SIDES, &amp;quot;your texture name in the object&amp;quot;, &amp;lt;1.0, 1.0, 0.0&amp;gt;, &amp;lt;0.0, 0.0, 0.0&amp;gt;, 0.0 //comment out if not needed.&lt;br /&gt;
//          , PRIM_SIZE, &amp;lt;0.63,0.199,0.52&amp;gt; // If you need to change the scale (size) of the object, uncomment this line.&lt;br /&gt;
        ]);&lt;br /&gt;
    } // The grey color you see on your sculpt object is the SL no found texture that is grey.&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|PRIM_TYPE}}&lt;br /&gt;
{{LSL ConstRow|CHANGED_SHAPE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75144</id>
		<title>PRIM TYPE SCULPT</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75144"/>
		<updated>2008-06-28T15:39:52Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: The PRIM_SCALE is not available in SL. The real way to scale an object is PRIM_SIZE. By the way, nice job to clarify my script. I&amp;#039;m busy to create.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:type_sculpt_const|{{LSL Const|PRIM_TYPE_SCULPT|integer|7|c=A parameter of PRIM_TYPE used to make prim into a sculpty and to change specific properties that define it&#039;s shape and type.}}}}&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/inventory|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}&lt;br /&gt;
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_TYPE_SCULPT&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=PRIM_TYPE_SCULPT is a parameter of [[PRIM_TYPE]] used to make a prim into a sculpty of specific shape and type.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Sculpted Prims: FAQ]]&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[ {{LSL_Const|PRIM_TYPE|integer|9}}, [[PRIM_TYPE_SCULPT]],&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=For use with [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]]&lt;br /&gt;
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}&lt;br /&gt;
|i1_type=string |i1_name=map&lt;br /&gt;
|i2_type=integer|i2_name=type&lt;br /&gt;
|toc=PRIM_TYPE&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_SCULPT, &lt;br /&gt;
                            &amp;quot;d962089b-2197-993c-9ec9-4993eb0a95f2&amp;quot;,  // sculpty texture&lt;br /&gt;
                            PRIM_SCULPT_TYPE_SPHERE                  // type&lt;br /&gt;
                      ]);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&amp;lt;lsl&amp;gt;//Rotates between the different sculpt types.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer a)&lt;br /&gt;
    {&lt;br /&gt;
        list b = llGetPrimitiveParams([PRIM_TYPE]);&lt;br /&gt;
        integer type = llList2Integer(b,2) % 4;&lt;br /&gt;
        llSetObjectDesc(llList2String([ &amp;quot;Sphere&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Torus&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Plane&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Cylinder&amp;quot;], type));&lt;br /&gt;
        llSetPrimitiveParams(PRIM_TYPE + llList2List(b, 0, 1) + (type + 1));&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;//A simple script to setup a prim as a sculpty.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSetPrimitiveParams([&lt;br /&gt;
            PRIM_TYPE, PRIM_TYPE_SCULPT, &amp;quot;your Sculpt map name in the object&amp;quot;, PRIM_SCULPT_TYPE_SPHERE&lt;br /&gt;
          , PRIM_TEXTURE, ALL_SIDES, &amp;quot;your texture name in the object&amp;quot;, &amp;lt;1.0, 1.0, 0.0&amp;gt;, &amp;lt;0.0, 0.0, 0.0&amp;gt;, 0.0 //comment out if not needed.&lt;br /&gt;
//          , PRIM_SIZE, &amp;lt;0.63,0.199,0.52&amp;gt; // If you need to change the scale (size) of the object, uncomment this line.&lt;br /&gt;
        ]);&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|PRIM_TYPE}}&lt;br /&gt;
{{LSL ConstRow|CHANGED_SHAPE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75110</id>
		<title>PRIM TYPE SCULPT</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75110"/>
		<updated>2008-06-28T02:35:36Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:type_sculpt_const|{{LSL Const|PRIM_TYPE_SCULPT|integer|7|c=A parameter of PRIM_TYPE used to make prim into a sculpty and to change specific properties that define it&#039;s shape and type.}}}}&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/inventory|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}&lt;br /&gt;
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_TYPE_SCULPT&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=PRIM_TYPE_SCULPT is a parameter of [[PRIM_TYPE]] used to make a prim into a sculpty of specific shape and type.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Sculpted Prims: FAQ]]&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[ {{LSL_Const|PRIM_TYPE|integer|9}}, [[PRIM_TYPE_SCULPT]],&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=For use with [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]]&lt;br /&gt;
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}&lt;br /&gt;
|i1_type=string |i1_name=map&lt;br /&gt;
|i2_type=integer|i2_name=type&lt;br /&gt;
|toc=PRIM_TYPE&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_SCULPT, &lt;br /&gt;
                            &amp;quot;d962089b-2197-993c-9ec9-4993eb0a95f2&amp;quot;,  // sculpty texture&lt;br /&gt;
                            PRIM_SCULPT_TYPE_SPHERE                  // type&lt;br /&gt;
                      ]);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&amp;lt;lsl&amp;gt;//Rotates between the different sculpt types.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer a)&lt;br /&gt;
    {&lt;br /&gt;
        list b = llGetPrimitiveParams([PRIM_TYPE]);&lt;br /&gt;
        integer type = llList2Integer(b,2) % 4;&lt;br /&gt;
        llSetObjectDesc(llList2String([ &amp;quot;Sphere&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Torus&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Plane&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Cylinder&amp;quot;], type));&lt;br /&gt;
        llSetPrimitiveParams(PRIM_TYPE + llList2List(b, 0, 1) + (type + 1));&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
//MathieuBC Noel script creators. My free objects available on www.slexchange.com&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
  llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, &amp;quot;your Sculpt map name in the object&amp;quot;, &lt;br /&gt;
&lt;br /&gt;
PRIM_SCULPT_TYPE_SPHERE,PRIM_TEXTURE, ALL_SIDES, &amp;quot;your texture name in the object&amp;quot;, &amp;lt;1,1,1&amp;gt;,&amp;lt;0,0,0&amp;gt; &lt;br /&gt;
&lt;br /&gt;
, 0.0]);&lt;br /&gt;
 &lt;br /&gt;
// llSetScale(&amp;lt;0.063,0.199,0.052&amp;gt;); // If you need to have more sculpt map in the object to show in &lt;br /&gt;
&lt;br /&gt;
different mesure. This way need less primitives (objects) on a land  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// &amp;lt;1,1,1&amp;gt; is the RBG  color (Red, Blue, Green&lt;br /&gt;
// &amp;lt;0,0,0&amp;gt; is the addition of an another RBG color it&#039;s to create different color. So &amp;lt;1,1,1&amp;gt;+&amp;lt;0,0,0&amp;gt;=&amp;lt;.5,.5,.5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// 0.0 in the end of the line is the texture rotation&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|PRIM_TYPE}}&lt;br /&gt;
{{LSL ConstRow|CHANGED_SHAPE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75109</id>
		<title>PRIM TYPE SCULPT</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_TYPE_SCULPT&amp;diff=75109"/>
		<updated>2008-06-28T02:32:29Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:type_sculpt_const|{{LSL Const|PRIM_TYPE_SCULPT|integer|7|c=A parameter of PRIM_TYPE used to make prim into a sculpty and to change specific properties that define it&#039;s shape and type.}}}}&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/inventory|map|uuid=true|type=texture|{{#ifeq:{{{1|}}}|get|no_caveat=true}}|full={{{remote|}}}}}&lt;br /&gt;
{{#vardefine:p_type_desc|PRIM_SCULPT_TYPE_* flag}}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_TYPE_SCULPT&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=7&lt;br /&gt;
|desc=PRIM_TYPE_SCULPT is a parameter of [[PRIM_TYPE]] used to make a prim into a sculpty of specific shape and type.&amp;lt;br/&amp;gt;&lt;br /&gt;
[[Sculpted Prims: FAQ]]&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[ {{LSL_Const|PRIM_TYPE|integer|9}}, [[PRIM_TYPE_SCULPT]],&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=For use with [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]]&lt;br /&gt;
{{LSL_Constants/PrimitiveParams/sculpt_types|table=*|sortable=*}}&lt;br /&gt;
|i1_type=string |i1_name=map&lt;br /&gt;
|i2_type=integer|i2_name=type&lt;br /&gt;
|toc=PRIM_TYPE&lt;br /&gt;
}}&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;lsl&amp;gt;llSetPrimitiveParams([PRIM_TYPE, &lt;br /&gt;
                        PRIM_TYPE_SCULPT, &lt;br /&gt;
                            &amp;quot;d962089b-2197-993c-9ec9-4993eb0a95f2&amp;quot;,  // sculpty texture&lt;br /&gt;
                            PRIM_SCULPT_TYPE_SPHERE                  // type&lt;br /&gt;
                      ]);&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&amp;lt;lsl&amp;gt;//Rotates between the different sculpt types.&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer a)&lt;br /&gt;
    {&lt;br /&gt;
        list b = llGetPrimitiveParams([PRIM_TYPE]);&lt;br /&gt;
        integer type = llList2Integer(b,2) % 4;&lt;br /&gt;
        llSetObjectDesc(llList2String([ &amp;quot;Sphere&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Torus&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Plane&amp;quot;,&lt;br /&gt;
                                        &amp;quot;Cylinder&amp;quot;], type));&lt;br /&gt;
        llSetPrimitiveParams(PRIM_TYPE + llList2List(b, 0, 1) + (type + 1));&lt;br /&gt;
    }&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|examples 2=&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
//MathieuBC Noel script creators. My free objects available on www.slexchange.com&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
  llSetPrimitiveParams([PRIM_TYPE, PRIM_TYPE_SCULPT, &amp;quot;your Sculpt map name in the object&amp;quot;, PRIM_SCULPT_TYPE_SPHERE,PRIM_TEXTURE, ALL_SIDES, &amp;quot;your texture name in the object&amp;quot;, &amp;lt;1,1,1&amp;gt;,&amp;lt;0,0,0&amp;gt; , 0.0]);&lt;br /&gt;
 &lt;br /&gt;
// llSetScale(&amp;lt;0.063,0.199,0.052&amp;gt;); // If you need to have more sculpt map in the object to show in different mesure. This way need less primitives (objects) on a land  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// &amp;lt;1,1,1&amp;gt; is the RBG  color (Red, Blue, Green&lt;br /&gt;
// &amp;lt;0,0,0&amp;gt; is the addition of an another RBG color it&#039;s to create different color. So &amp;lt;1,1,1&amp;gt;+&amp;lt;0,0,0&amp;gt;=&amp;lt;.5,.5,.5&amp;gt;&lt;br /&gt;
&lt;br /&gt;
// 0.0 in the end of the line is the texture rotation&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|PRIM_TYPE}}&lt;br /&gt;
{{LSL ConstRow|CHANGED_SHAPE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|cat1=Prim&lt;br /&gt;
|cat2&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=PRIM_GLOW&amp;diff=68686</id>
		<title>PRIM GLOW</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=PRIM_GLOW&amp;diff=68686"/>
		<updated>2008-05-24T01:12:09Z</updated>

		<summary type="html">&lt;p&gt;MathieuBC Noel: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:p_intensity_desc|ranges from 0.0 to 1.0}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:return|[&amp;amp;nbsp;{{HoverText|0.0|float intensity}}&amp;amp;nbsp;]}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:glow_const|{{LSL Const|PRIM_GLOW|integer|25|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the glow of a prim&#039;s face}}}}&lt;br /&gt;
&lt;br /&gt;
{{#vardefine:facetable|{{#var:facetable}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} [ {{#var:glow_const}} ]&lt;br /&gt;
{{!}} {{#var:return}} }}&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/onlyinclude&amp;gt;{{#if:&lt;br /&gt;
&lt;br /&gt;
{{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}}&lt;br /&gt;
&lt;br /&gt;
}}{{LSL Constant&lt;br /&gt;
|name=PRIM_GLOW&lt;br /&gt;
|type=integer&lt;br /&gt;
|value=25&lt;br /&gt;
|desc=PRIM_GLOW is used to get or set the glow status of the {{LSL Param|face}}. Use the integer number 25 if the compiler rejects the named constant.&lt;br /&gt;
|pa={{LSL Constant/List|i_front=[&amp;amp;#32;{{#var:glow_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=When used with [[llSetPrimitiveParams]] &amp;amp; [[llSetLinkPrimitiveParams]]&lt;br /&gt;
|toc=llSetPrimitiveParams&lt;br /&gt;
|i1_type=integer|i1_name=face&lt;br /&gt;
|i2_type=float|i2_name=intensity}}&lt;br /&gt;
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&amp;amp;nbsp;{{#var:glow_const}},&amp;amp;#32;|i_end=&amp;amp;nbsp;]);|&lt;br /&gt;
|r_front=Returns the list [&amp;amp;nbsp;|r_end=&amp;amp;nbsp;]&lt;br /&gt;
|text=&#039;&#039;&#039;Caveats:&#039;&#039;&#039;&lt;br /&gt;
{{#var:caveats}}{{#vardefine:caveats}}&lt;br /&gt;
|toc=llGetPrimitiveParams&lt;br /&gt;
|i1_type=integer|i1_name=face&lt;br /&gt;
|r1_type=float|r1_name=intensity&lt;br /&gt;
}}&lt;br /&gt;
 ==Exemple==&lt;br /&gt;
&amp;lt;lsl&amp;gt;///Exemple&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
//glow intensity on touch by &amp;quot;&amp;quot;&amp;quot;&amp;quot;MathieuBC Noel&amp;quot;&amp;quot;&amp;quot;&amp;quot;MY Free products available on www.slexchange.com&lt;br /&gt;
//Changes a prim from glow intensity  again each time it is touched&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
integer PRIM_GLOW = 25;&lt;br /&gt;
&lt;br /&gt;
default &lt;br /&gt;
{ &lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  .01 ]); state unlit; //intensity is the range of 0.01 to 1&lt;br /&gt;
    } &lt;br /&gt;
} &lt;br /&gt;
&lt;br /&gt;
state unlit &lt;br /&gt;
{ &lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  .02 ]); state unlit2; &lt;br /&gt;
    } &lt;br /&gt;
} &lt;br /&gt;
state unlit2 &lt;br /&gt;
{ &lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  .03 ]); state unlit3; &lt;br /&gt;
    } &lt;br /&gt;
    } &lt;br /&gt;
state unlit3 &lt;br /&gt;
{ &lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  .04 ]); state unlit4; &lt;br /&gt;
    } &lt;br /&gt;
    } &lt;br /&gt;
state unlit4 &lt;br /&gt;
{ &lt;br /&gt;
    touch_start(integer total_number) &lt;br /&gt;
    { &lt;br /&gt;
        llSetPrimitiveParams( [ PRIM_GLOW, ALL_SIDES,  .1 ]); state default ; &lt;br /&gt;
    } &lt;br /&gt;
    } &lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
|examples&lt;br /&gt;
|constants=&lt;br /&gt;
{{LSL ConstRow|CHANGED_TEXTURE}}&lt;br /&gt;
|functions=&lt;br /&gt;
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}&lt;br /&gt;
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}&lt;br /&gt;
|events=&lt;br /&gt;
{{LSL DefineRow||[[changed]]|}}&lt;br /&gt;
|location&lt;br /&gt;
|history=Added in client version 1.20&lt;br /&gt;
|cat1=Face&lt;br /&gt;
|cat2=Prim&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>MathieuBC Noel</name></author>
	</entry>
</feed>