11.02.2023, 16:00
(Dieser Beitrag wurde zuletzt bearbeitet: 11.02.2023, 16:06 von Manfred Aabye.)
Bei mir Funktioniert es Tadellos.
opensim-0.9.2.2Dev-387-g157d351
Ich benutze die YEngine.
Hier mein Testscript:
opensim-0.9.2.2Dev-387-g157d351
Ich benutze die YEngine.
Hier mein Testscript:
PHP-Code:
// Example osTeleportAgent Script
//
// Set Destination as described below, There are a Few Options depending on Application:
// IN GRID Teleport
// Destination = "1000,1000"; = Using In-Grid Map XXXX,YYYY coordinates
// Destination = "RegionName"; = Using RegionName
// HyperGrid Teleport (region must be HG Enabled)
// Destination = "TcpIpAddr:Port:RegionName"; = Using the Target/Destination IP Address
// Destination = "DNSname:Port:RegionName"; = Using the Target/Detination DNSname
// Note: RegionName is Optionally Specified to deliver Avatar to specific region in an instance.
//
// ========================================================================================
// === SET DESTINATION INFO HERE ===
//
// vector LookAt = <OstenWesten, NordenSueden, 0.0>;
float Osten=1.0;
float Westen=-1.0;
float Norden=1.0;
float Sueden=-1.0;
string Destination = "Welcome"; // your target destination here (SEE NEXT LINES) Can Be
vector LandingPoint = <128.0, 128.0, 25.0>; // X,Y,Z landing point for avatar to arrive at
// Test Blickrichtung Suedosten
vector LookAt = <Osten, Sueden, 0.0>; // which way they look at when arriving
default
{
on_rez(integer start_param)
{
llResetScript();
}
changed(integer change) // something changed, take action
{
if(change & CHANGED_OWNER)
llResetScript();
else if (change & CHANGED_REGION_START) // that bit is set during a region restart
llResetScript();
}
state_entry()
{
llWhisper(0, "OS Teleportal Active");
}
touch_start(integer num_detected)
{
key avatar = llDetectedKey(0);
llRegionSayTo(avatar, 0,"Teleporting you to : "+Destination);
osTeleportAgent(avatar, Destination, LandingPoint, LookAt);
}
}
Ein Metaversum sind viele kleine Räume, die nahtlos aneinander passen,
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.