Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
suche Rezz Script
#4
Hallölle ;D

Hab ein Script in meinen Iventar gefunden ;D

Code:
// This script is licensed under GPL license version 2
//
// In short: feel free to redistribute and modify it, as long as
// any copies of it can be redistributed and modified as well.
//
// The official text of the licence is available at
// http://www.gnu.org/licences/gpl.html
//
// (c) The owner of Avatar Catherine Pfeffer, 2010

string VERSION = "0.1.1";
integer DIALOG = -121;
integer CHANNEL = -122;
integer MAGIC = 42;

rezzer()
{
    integer n = llGetInventoryNumber(INVENTORY_OBJECT);
    integer i;

    vector pos = llGetPos();
    rotation rot = llGetRot();
        
    for (i = 0; i < n; i++)
    {
        string name = llGetInventoryName(INVENTORY_OBJECT, i);
        llRezAtRoot(name, pos, ZERO_VECTOR, rot, MAGIC);
    }
}

default
{
    state_entry()
    {
        llSetTouchText("Menu");
        llListen(DIALOG, "", llGetOwner(), "");
        llOwnerSay("Open Source Faux Build version " + VERSION + ".\n" +
                   "Click on the Faux Build cube to get the menu.");
    }
    
    on_rez(integer number)
    {
        llResetScript();
    }

    touch_start(integer num)
    {
        integer i;
        
        for (i = 0; i < num; i++)
        {
            if (llDetectedKey(i) != llGetOwner())
            {
                llSay(0, "You are not my owner.");
            }
            else
            {
                llDialog(llGetOwner(), "Choose action to perform",
                         [ "Unrez", "Reposition", "Freeze", "Prepare", "Rez" ], DIALOG);
            }
        }
    }

    listen(integer channel, string name, key id, string message)
    {
        if (message == "Prepare")
        {
            vector pos = llGetPos();
            rotation rot = llGetRot();
            
            llShout(CHANNEL, "Position;" + (string) pos + ";" + (string) rot );
        }
        else if (message == "Rez")
        {
            rezzer();
        }
        else if (message == "Unrez")
        {
            llShout(CHANNEL, "Suicide");
        }
        else if (message == "Reposition")
        {
            vector pos = llGetPos();
            rotation rot = llGetRot();
            
            llShout(CHANNEL, "Moveto;" + (string) pos + ";" + (string) rot );
        }
        else if (message == "Freeze")
        {
            llShout(CHANNEL, "Cleanup");
        }
        else llOwnerSay("Unknown command");
    }
}

habs nicht getestet ...

Hier die Anleitung ;D

Zitat:Open Source Faux Build - tested in OpenSim.


Saving your build
===========

Put the Faux Build cube next to your build.
Drag the script "Faux Build - objects script" into all the objects (at the root prim). Give relevant names to them.
Click on the Faux Build cube. A blue menu appears. Select "Prepare".
Take into your inventory a copy of all the objects that have answered that they were ready.
Drag them from your inventory into the contents of the Faux Build cube.
Write down the coordinates and rotation of the Faux Build cube if you want to be able to recreate the build exactly at the same place.
Take a copy of theFaux Build cube in your inventory. Rename it to reflect its contents if you wish.


Restoring your build
============

Place the Faux Build cube where you want to rez again the build. Orient it in the new direction of the build.
Click on the Faux Build cube. A blue menu appears. Select "Rez".
If the result is not satisfying, click again on the cube and select "Unrez".
You can also move and rotate the Faux Build cube and click "Reposition".
When you're satisfied with the result, click "Freeze".


Important notice
==========

The descriptions of the objects stored in the Faux Build cube will be lost.
Do not use with "no copy" or "no modify" objects.
The author denies any responsability in case of loss of data, of virtual goods, or of working hours.
Send feedback to Catherine Pfeffer, on Second Life or on New World Grid.
Signatur
Have a nice Day ;D

>> BogusMusikRausch jeweils Donnerstag um 20 Uhr in Uwes KeulenBar

Tschöö

Bogus | PinguinsReisen.de | M: @gse@norden.social
Zitieren


Nachrichten in diesem Thema
suche Rezz Script - von Uwe Furse - 15.06.2012, 21:47
RE: suche Rezz Script - von Dorena Verne - 16.06.2012, 11:15
RE: suche Rezz Script - von Anachron - 16.06.2012, 12:26
RE: suche Rezz Script - von Bogus Curry - 16.06.2012, 13:12
RE: suche Rezz Script - von MichelleArgus - 18.06.2012, 07:23
RE: suche Rezz Script - von Uwe Furse - 18.06.2012, 22:38

Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
Question Suche Garagentor script Kalkofe 4 1.369 20.07.2024, 12:06
Letzter Beitrag: Manfred Aabye
  Suche Lichtscript LadyContessa Barbosa 8 9.395 21.03.2024, 16:22
Letzter Beitrag: Manfred Aabye
Question Tür script gesucht, Tür soll bei Eintritt ein paar meter vorher öffnen Kalkofe 9 1.802 11.10.2023, 05:37
Letzter Beitrag: Christoph Balhaus
  Rufknopf Script für Aufzug gesucht Xenos Yifu 4 2.492 03.04.2022, 19:09
Letzter Beitrag: Mareta Dagostino
  Geber/ Rezz Script Xenos Yifu 10 5.828 28.11.2020, 14:28
Letzter Beitrag: Kubwa

Gehe zu:


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