https://wiki.secondlife.com/w/api.php?userExpLevel=registered&hidebots=1&hideminor=1&urlversion=1&days=7&limit=50&target=Category%3ANeeds_Translation%2FLSL%2Fzh-Hans&action=feedrecentchanges&feedformat=atomSecond Life Wiki - Changes related to "Category:Needs Translation/LSL/zh-Hans" [en]2024-03-29T13:45:56ZRelated changesMediaWiki 1.36.1https://wiki.secondlife.com/w/index.php?title=LlReplaceEnvironment&diff=1216419&oldid=1213876LlReplaceEnvironment2024-03-27T18:41:39Z<p>Clarify that modifying a group parcel requires the script to be group-owned or for the owner to have the appropriate ability and be present in the sim.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:41, 27 March 2024</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l29">Line 29:</td>
<td colspan="2" class="diff-lineno">Line 29:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* A parameter override set by [[llSetEnvironment]] will be preserved after the environment is replaced by this function. Call [[llSetEnvironment]] with an empty list parameter to clear any straggling overrides.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* A parameter override set by [[llSetEnvironment]] will be preserved after the environment is replaced by this function. Call [[llSetEnvironment]] with an empty list parameter to clear any straggling overrides.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The environment specified by this function is applied asynchronously, as the simulator must download the environment asset before applying it. This means that [[llGetEnvironment]] will not immediately reflect the new environment's parameters, although the delay is typically quite small.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The environment specified by this function is applied asynchronously, as the simulator must download the environment asset before applying it. This means that [[llGetEnvironment]] will not immediately reflect the new environment's parameters, although the delay is typically quite small.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* If a UUID is passed as the environment parameter and that UUID does not specify an environment setting or one can not be constructed, the function will return success (1) but will post a message to the debug channel. </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* If a UUID is passed as the environment parameter and that UUID does not specify an environment setting or one can not be constructed, the function will return success (1) but will post a message to the debug channel<ins style="font-weight: bold; text-decoration: none;">.</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* If the parcel is group-owned, the script must either be deeded to the group, or the script owner must have "Modify environment settings and day cycle" group ability '''and''' have an active agent in the sim</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|examples=<source lang="lsl2"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|examples=<source lang="lsl2"></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// Will set the entire region to the "Tropicalia" EEP from the Linden inventory when touched. </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>// Will set the entire region to the "Tropicalia" EEP from the Linden inventory when touched. </div></td></tr>
</table>Maestro Lindenhttps://wiki.secondlife.com/w/index.php?title=LlSetEnvironment&diff=1216418&oldid=1211075LlSetEnvironment2024-03-27T18:41:24Z<p>Clarify that modifying a group parcel requires the script to be group-owned or for the owner to have the appropriate ability and be present in the sim.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:41, 27 March 2024</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l35">Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* An environment set locally on the viewer will override any environment set from this function.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* An environment set locally on the viewer will override any environment set from this function.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* When changing a parcel's environment it must first have had an environment set.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* When changing a parcel's environment it must first have had an environment set.</div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* If the parcel is group-owned, the script must either be deeded to the group, or the script owner must have "Modify environment settings and day cycle" group ability '''and''' have an active agent in the sim.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|examples=</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|examples=</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|helpers</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|helpers</div></td></tr>
</table>Maestro Lindenhttps://wiki.secondlife.com/w/index.php?title=COMBAT_CHANNEL&diff=1216412&oldid=0COMBAT CHANNEL2024-03-25T23:19:45Z<p>Created page with "<onlyinclude>{{#vardefine:COMBAT_CHANNEL|{{LSL Const|COMBAT_CHANNEL|integer|hex=0x7FFFFFFE|ihex=2147483646|c=Chat channel reserved for combat logging events.}}}}</onlyinclude>..."</p>
<p><b>New page</b></p><div><onlyinclude>{{#vardefine:COMBAT_CHANNEL|{{LSL Const|COMBAT_CHANNEL|integer|hex=0x7FFFFFFE|ihex=2147483646|c=Chat channel reserved for combat logging events.}}}}</onlyinclude>{{LSL Constant<br />
|name={{#var:cname}}<br />
|type={{#var:type}}<br />
|hvalue=0x7FFFFFFE<br />
|value=2147483646<br />
|desc=A channel reserved for combat related log events broadcast to the entire region.<br />
|examples<br />
|comment={{#var:comment}}<br />
|constants=<br />
{{LSL ConstRow|PUBLIC_CHANNEL}}<br />
{{LSL ConstRow|DEBUG_CHANNEL}}<br />
|functions=<br />
{{LSL DefineRow||[[llWhisper]]|}}<br />
{{LSL DefineRow||[[llSay]]|}}<br />
{{LSL DefineRow||[[llShout]]|}}<br />
{{LSL DefineRow||[[llRegionSay]]|}}<br />
|events=<br />
{{LSL DefineRow||[[listen]]|}}<br />
|helpers=<br />
|location<br />
|cat1=Chat<br />
|cat2=Combat2<br />
|cat3<br />
|cat4<br />
}}</div>Rider Lindenhttps://wiki.secondlife.com/w/index.php?title=LlDamage&diff=1216407&oldid=0LlDamage2024-03-22T21:37:09Z<p>Created page with "{{LSL_Function |func_id=|func_sleep=0.0|func_energy=10.0 |func=llDamage|return_type= |p1_type=key|p1_name=target|p1_desc=The key for the task or avatar that will receive damag..."</p>
<p><b>New page</b></p><div>{{LSL_Function<br />
|func_id=|func_sleep=0.0|func_energy=10.0<br />
|func=llDamage|return_type=<br />
|p1_type=key|p1_name=target|p1_desc=The key for the task or avatar that will receive damage.<br />
|p2_type=float|p2_name=damage|p2_desc=The amount of damage to deliver to the targeted task or avatar.<br />
|p3_type=integer|p3_name=damage_tipe|p3_desc=The type of damage to deliver to the targeted task or avatar.<br />
|func_desc=This function delivers damage to tasks and agent in the same region.<br />
|return_text<br />
|spec={{LSL Warnings/Combat2}}<br />
The llDamage function triggers a damage event on the targeted task. If any scripts in the target process the [[on_damage]] event, they will be fired before the damage is applied or distributed.<br />
|caveats=<br />
* Triggering the damage throttle will shout an error to the debug channel and the script will continue running. <br />
* The prim containing the script and the prim receiving the damage must both be in damage enable parcels. <br />
|constants={{LSL Constants/Damage_Types}}<br />
|examples<br />
|helpers<br />
|also_functions={{LSL DefineRow||[[llDetectedDamage]]|}}<br />
{{LSL DefineRow||[[llAdjustDamage]]|}}<br />
|also_events={{LSL DefineRow||[[on_damage]]|}}<br />
|also<br />
|notes<br />
|cat1=Combat2<br />
|cat2=Script<br />
|cat3<br />
|cat4<br />
}}</div>Rider Linden