Thank you kindly, TLaukkan (Tommil) for a patch that:

Added osTeleportAgent with region coordinates to 
support hyper grid scripted teleports.
This commit is contained in:
Charles Krinke
2009-02-01 17:41:33 +00:00
parent 469b35d2bb
commit 50536c66a0
3 changed files with 35 additions and 0 deletions

View File

@@ -131,6 +131,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osTeleportAgent(agent, regionName, position, lookat);
}
public void osTeleportAgent(string agent, long regionX, long regionY, vector position, vector lookat)
{
m_OSSL_Functions.osTeleportAgent(agent, (uint) regionX, (uint) regionY, position, lookat);
}
public void osTeleportAgent(string agent, vector position, vector lookat)
{
m_OSSL_Functions.osTeleportAgent(agent, position, lookat);