Talk:OsTeleportAgent

From OpenSimulator

Revision as of 20:24, 23 December 2011 by Azwaldo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)

Personal tools
General
About This Wiki