Difference between revisions of "Template:LSL Function/position"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 11: Line 11:
   {{#if:{{{local|}}}|
   {{#if:{{{local|}}}|


     {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region}} or [[Viewer coordinate frames#Local|local coordinates]] depending upon the situation. {{{desc|}}}}}
     {{#vardefine:p_{{{1|}}}_desc|position in {{HoverLink|Viewer coordinate frames#Region|Origin is the origin of the region which {{String|owns}} the object.|region}} or [[Viewer coordinate frames#Local|local coordinates]] depending upon the situation{{{desc|}}}}}


     {{#vardefine:p_{{{1|}}}_hover|position in region or local coordinates depending upon the situation. {{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}
     {{#vardefine:p_{{{1|}}}_hover|position in region or local coordinates depending upon the situation{{#if:{{{hover|}}}|{{{hover|}}}|{{{desc|}}}}}}}


   |
   |

Revision as of 10:56, 15 May 2012

This template is to be used to specify setup the description for position like parameters (offsets, positions, points, etc.).

Right now it's pretty basic and easy to edit. I'm wondering if these functions should be in a position parameter specific category.

TODO

  • add clamping flag and verbiage for out of region/range coordinates.