GridTalk.de
{Suche] Suche Teleport Bumping Script - Druckversion

+- GridTalk.de (https://www.gridtalk.de)
+-- Forum: Werkstatt (https://www.gridtalk.de/forumdisplay.php?fid=4)
+--- Forum: Scripting (https://www.gridtalk.de/forumdisplay.php?fid=23)
+--- Thema: {Suche] Suche Teleport Bumping Script (/showthread.php?tid=1037)



{Suche] Suche Teleport Bumping Script - Bogus Curry - 29.05.2013

Hallo ;D

Ich suche ein Teleport Script, wo wenn man gegen ein Prim läuft teleportiert wird, wie in Metro Teleportstation.

Danke in vorraus ;D


RE: {Suche] Suche Teleport Bumping Script - Rebekka Revnik - 29.05.2013

Bitte schön, mal das Skript aus der Wiki bissel umgeschrieben
Wirkt auch bei Phantom, Ezry hatte das neulich mal getestet
Code:
// 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 ===
//
string Destination = "LBSA Plaza"; // your target destination here (SEE NEXT LINES) Can Be
vector LandingPoint = <128,128,50>; // X,Y,Z landing point for avatar to arrive at
vector LookAt = <1,1,1>; // 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 & 256) // that bit is set during a region restart
            llResetScript();
    }
    state_entry()
    {
        llWhisper(0, "OS Teleportal Active");
        llVolumeDetect(TRUE);
    }
    collision_start(integer total_number)
    {
        key avatar = llDetectedKey(0);
        llInstantMessage(avatar, "Teleporting you to : "+Destination);
        osTeleportAgent(avatar, Destination, LandingPoint, LookAt);
    }
}



RE: {Suche] Suche Teleport Bumping Script - Bogus Curry - 29.05.2013

Danke Dir Bekki ;D

Mal sehen ob es in Aurora funzt ;D

GEht das Script nur von Sim zu Sim ?


RE: {Suche] Suche Teleport Bumping Script - Klarabella Karamell - 29.05.2013

Das Script geht auch von Grid zu Grid, ob es in Aurora funzt, weiss ich net, weil es eine OS-Funktion verwendet, du musst dann auch den Scriptlevel auf severe setzen, damit des funzt.
Aber dann gehts fantastisch...


RE: {Suche] Suche Teleport Bumping Script - Rebekka Revnik - 29.05.2013

Für osTeleportAgent gibts drei Aufrufe, eine davon ist fürs HG. Aber mit dem Skript müsste es auch gehen, die Namenskonventionen stehen ja oben drin, ab Zeile 5.


RE: {Suche] Suche Teleport Bumping Script - Bogus Curry - 29.05.2013

Ja beim erstmal hab ich auf meiner Aurora-Region einiges an Fehlermeldung in der Console bekommen. Muss vielleicht die Script engine wechseln, mal schaun ...

trotzdem danke euch beiden ;D