This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Teleport Sitzscript
#1
Der Soul Bürgermeister, Tailor, wollte heute ein Script haben, das seine Besucher ohne echten Teleport an ein bestimmtes Ziel katapultiert.

Legt das Script in ein Objekt und packt in die Objektbeschreibung die Zielkoordinaten als Vector (<x, y, z> -> <20, 10, 200>) rein. Dann wird der klickende Avatar an diese Zielkoordinaten "teleportiert".

Code:
/*
    _  __    _
    | |/ /  _| |____      ____ _ ©
    | ' / | | | '_ \ \ /\ / / _` |
    | . \ |_| | |_) \ V  V / (_| |
    |_|\_\__,_|_.__/ \_/\_/ \__,_|
                  Hyper-Muscledog
    Script ©Kubwa | https://kubwa.dog
    Mail: Script@Kubwa.dog
    This header MUST be kept intact in any changes and reshares of this script.
    You are allowed to use parts of this script in your own creations but you
    need to place this header into your new creations to keep credit to the
    original creator Kubwa.
*/
/*
    Zielkoordinaten als Vector in die Objektbeschreibung eintragen
    Beispiel: <x, y, z> -> <20, 300, 10>
*/
default
{
    touch_start(integer dummy)
    {
        llSitTarget(((vector)llGetObjectDesc() - llGetPos()) / llGetRot(), ZERO_ROTATION);
        osForceOtherSit(llDetectedKey(0));
        llSleep(0.5);
        llUnSit(llDetectedKey(0));
    }
}
Zitieren


Nachrichten in diesem Thema
Teleport Sitzscript - von Kubwa - 17.01.2023, 16:40

Gehe zu:


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