Talk:OsTeleportAgent
From OpenSimulator
Error in script example?
All three variants given for the osTeleportAgent function specify a "string" as the first parameter.
- osTeleportAgent(string agent, vector position, vector lookat)
Yet, in the example script the function in the touch_start event handler calls up a key (from first line in that handler).
- key avatar = llDetectedKey(0);
- ...
- osTeleportAgent(avatar, Destination, LandingPoint, LookAt);
This fxn is not working for me. I have also read this thread at OSGrid forum. Azwaldo 19:24, 23 December 2011 (PST)