Talk:OsTeleportAgent
From OpenSimulator
(Difference between revisions)
(Question about example) |
|||
Line 1: | Line 1: | ||
== Error in script example? == | == Error in script example? == | ||
− | All three variants given for | + | All three variants given for this function specify a "string" as the first parameter. |
:osTeleportAgent('''string agent''', vector position, vector lookat) | :osTeleportAgent('''string agent''', vector position, vector lookat) | ||
− | Yet, in the example script the function | + | Yet, in the example script the function calls up a key. |
:'''key avatar''' = llDetectedKey(0); | :'''key avatar''' = llDetectedKey(0); | ||
:... | :... | ||
:osTeleportAgent('''avatar''', Destination, LandingPoint, LookAt); | :osTeleportAgent('''avatar''', Destination, LandingPoint, LookAt); | ||
− | |||
[[User:Azwaldo|Azwaldo]] 19:24, 23 December 2011 (PST) | [[User:Azwaldo|Azwaldo]] 19:24, 23 December 2011 (PST) |
Latest revision as of 19:39, 24 December 2011
[edit] Error in script example?
All three variants given for this function specify a "string" as the first parameter.
- osTeleportAgent(string agent, vector position, vector lookat)
Yet, in the example script the function calls up a key.
- key avatar = llDetectedKey(0);
- ...
- osTeleportAgent(avatar, Destination, LandingPoint, LookAt);
Azwaldo 19:24, 23 December 2011 (PST)