Difference between revisions of "LlWind"

From Second Life Wiki
Jump to: navigation, search
(+example)
Line 12: Line 12:
 
|spec
 
|spec
 
|caveats
 
|caveats
|examples
+
|examples=<pre>
 +
default
 +
{
 +
    touch_start(integer num)
 +
    {
 +
        llSay(0, "Wind velocity: " + (string)llWind(ZERO_VECTOR));
 +
    }
 +
}
 +
</pre>
 
|helpers
 
|helpers
 
|also_functions=*{{LSLG|llCloud}}
 
|also_functions=*{{LSLG|llCloud}}

Revision as of 13:40, 30 May 2007

Summary

Function: vector llWind( vector offset );

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

• vector offset

Examples

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

See Also

Functions

Deep Notes

Search JIRA for related Issues

Signature

function vector llWind( vector offset );