blippy Dash
-
Posts
4 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by blippy Dash
-
-
Have used somt of the ideas suggested but am having trouble getting the scripts to work. If anyone could let me know what i am doing wrong that would be great.
Script on switch:
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llRegionSayTo("10e457cf-c631-cc69-2cb8-cd384541aca4",-524,"Rotate");
}
}
Script on door:
float rotateBy = 0.8;
default
{
state_entry()
{
llListen(-524,"Switch","fac317ac-dc0f-c394-ad48-1b9a0644e9c4","rotate");
}
listen(integer channel, string name, key id, string message)
{
if (llToLower(message) == "rotate")
{
llSay(0, "Door opened");
llSetLocalRot(llEuler2Rot(<0,0,rotateBy*PI_BY_TWO>)*llGetLocalRot());
}
}
} -
Thanks for the help will see what I can whip up
-
Hi fellow second life residents,
I have made and scripted a door that opens and closes when clicked. Does anyone know how i could script it so the door opens when another prim is clicked???
ps. I am new to linden script so go easy on me :)
Thanks
Acivating prim when avatar gets close
in LSL Scripting
Posted
Hi everyone,
Is there a way I can write a script for a prim so it performs an action only when the avatar gets close to it??
Thanks