Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Bug Report in Open-SIM? HowTo?
#9
Bei mir Funktioniert es Tadellos.
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.0128.025.0>; // X,Y,Z landing point for avatar to arrive at
// Test Blickrichtung Suedosten
vector LookAt = <OstenSueden0.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(avatar0,"Teleporting you to : "+Destination);
    
osTeleportAgent(avatarDestinationLandingPointLookAt);
  }

Ein Metaversum sind viele kleine Räume, die nahtlos aneinander passen,
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.



Zitieren


Nachrichten in diesem Thema
Bug Report in Open-SIM? HowTo? - von Anachron - 09.02.2023, 18:56
RE: Bug Report in Open-SIM? HowTo? - von Manfred Aabye - 11.02.2023, 16:00

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste