Jump to content

blippy Dash

Resident
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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
  2. 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()); } } }
  3. 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
×
×
  • Create New...