Difference between revisions of "LlWind"

From Second Life Wiki
Jump to: navigation, search
m
m (lsl code tagging)
Line 12: Line 12:
 
|spec
 
|spec
 
|caveats
 
|caveats
|examples=<pre>
+
|examples=
 +
<lsl>
 
default
 
default
 
{
 
{
Line 20: Line 21:
 
     }
 
     }
 
}
 
}
</pre>
+
</lsl>
 
|helpers
 
|helpers
 
|also_functions={{LSL DefineRow||[[llCloud]]}}
 
|also_functions={{LSL DefineRow||[[llCloud]]}}

Revision as of 23:14, 2 April 2008

Summary

Function: vector llWind( vector offset );

Returns a vector that is the wind velocity at the prim position + offset

• vector offset

Examples

<lsl> default {

   touch_start(integer num)
   {
       llSay(0, "Wind velocity: " + (string)llWind(ZERO_VECTOR));
   }

}

</lsl>

See Also

Functions

•  llCloud

Deep Notes

Search JIRA for related Issues

Signature

function vector llWind( vector offset );