Difference between revisions of "Template:Darwin's Scripts"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| find screen width = | | find screen width = | ||
<div id="box"> | <div id="box">==Find Screen Width== | ||
==Find Screen Width== | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
The script below will give the width of the screen in meters by touching anywhere on the visible face, given that the prim is a box with zero rotation and attached at one of the corner HUD attachment points. | The script below will give the width of the screen in meters by touching anywhere on the visible face, given that the prim is a box with zero rotation and attached at one of the corner HUD attachment points. | ||
Line 19: | Line 18: | ||
llOwnerSay((string)screen_width); | llOwnerSay((string)screen_width); | ||
} | } | ||
}</lsl> | }</lsl></div></div> | ||
</div></div> | | color picker = <div id="box"> | ||
| color picker = | |||
<div id="box"> | |||
==Color Picker== | ==Color Picker== | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
Line 145: | Line 142: | ||
} | } | ||
} | } | ||
</lsl> | </lsl></div></div> | ||
</div></div> | |||
| Script not found: {{{1}}} | | Script not found: {{{1}}} | ||
}} | }} |
Revision as of 14:56, 26 November 2008
{{Darwin's Scripts|script name}}
Returns lsl scripts
Contents:
- find screen width
- color picker