Пятница, 18.07.2025, 22:40
Приветствую Вас Гость RSS
Статистика
Дневник
Главная » 2009 » Сентябрь » 20
Пересылает все, что было сказано в общмй чат в им своему хозяину.
integer Handle; default { state_entry() { Handle = llListen(0, "", NULL_KEY, ""); // start listening } touch_start(integer total_number) { // when touched... llListenControl(Handle, TRUE); // ...enable listen } listen(integer channel, string name, key id, string message) { // when told "off"... if (message == "off") { llListenControl(Handle, FALSE); // .. disable listen } else { llInstantMessage(llGetOwner(),llList2CSV([name, message])); // repeat message } } }
Просмотров:
809
|
Добавил:
volldemar
|
Дата:
20.09.2009
|
Это небольшое дополнение заставит Ваш аватар всячески кривляться :) Показывать язык, улыбаться, подмигавить и др.
1. Нам необходим основной скрипт:
string smile = ""; key owner = ""; float timeoutmax = 10.0; float timeoutmin = 4.0; integer counter = 0; integer timed = FALSE; reset() { owner = llGetOwner(); llRequestPermissions(owner, PERMISSION_TRIGGER_ANIMATION); llSetTimerEvent(0); llMessageLinked(LINK_SET, 5, "unset", ""); timed = FALSE; smile = ""; } default { state_entry() { llSetText("",<1,1,1>,1); llSetTimerEvent(0); smile = ""; if(owner == "") reset(); } on_rez(integer num) { //llResetScript(); if(owner != llGetOwner()) reset(); smile = ""; llOwnerSay("Touch a smiley to do what it says ;-) - The Hourglass activates the random sm
...
Читать дальше »
Просмотров:
1431
|
Добавил:
volldemar
|
Дата:
20.09.2009
|
В продолжение темы Second Life видео... В исполнении Kylie Minogue и Nick Cave
Просмотров:
784
|
Добавил:
volldemar
|
Дата:
20.09.2009
|