llGetMaxScaleFactor
function
Function syntax
float llGetMaxScaleFactor();- Returns
float- Energy
- 10
Returns a float that is the largest scaling factor that can be used with llScaleByFactor to resize the object. This maximum is determined by the Linkability Rules and prim scale limits.
float result = llGetMaxScaleFactor();Examples
Section titled “Examples”Example 1
default{ touch_start(integer total_number) { float min_factor = llGetMinScaleFactor(); float max_factor = llGetMaxScaleFactor(); llSay(0, "Choose a value between " + (string)min_factor + " and " + (string)max_factor + " when calling llScaleByFactor() on this linkset."); }}History
Section titled “History”- Mentioned in Simulator_User_Group/Transcripts/2013.12.10
- Mentioned in Simulator_User_Group/Transcripts/2013.12.17
See also
Section titled “See also”Functions
Section titled “Functions”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.