Jump to content

Starla Metaller

Resident
  • Posts

    7
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. Thank you very much for your help - this works brilliantly with what I'm trying to do. My next task is creating the impression of a projector - but I've seen a couple of tutorials on this, so fingers crossed it works!
  2. Hi, I am working on the transparency script (and leaving the colour changing script for the time being). I've put some bits together from a few of the scripts that I have seen in the tutorials, but cannot get it quite right. I wonder if you could take a look and see what I might be doing wrong? The script below is doing a nice job of fading the object in and out repeatedly when an avatar is near. I would like it to stay transparent for a little longer (say 2s) before returning to it's previous state. I've tried adding a timer, but I think I may be missing something? (I'm trying to create the impression of a flickering projection). integer counter; float gap = 2.0; default { state_entry() { llSensorRepeat("", NULL_KEY, AGENT, 10, PI, 5); llSetTimerEvent(gap); } sensor(integer total_number) { // fade out float alpha = 0.3; while (alpha >= 0.0) { llSetLinkAlpha(LINK_SET, alpha, ALL_SIDES); alpha -= 0.001; } // fade in while (alpha < 0.3) { alpha += 0.001; llSetLinkAlpha(LINK_SET, alpha, ALL_SIDES); } } }
  3. Thanks - the audio file is playing (albeit very quietly). I think it is the proximity to the prim with the sound that is the issue. Can the 'throw' of the sound be modified? Also, I want the audio to play continually without being manually switched on and off (it's an installation). Can another action be used other than touch_start?
  4. Hi, I am new to scripting and I am trying to make a prim play a looped audio sample in a particular space. I have the file attached and have tried two scripts: http://wiki.secondlife.com/wiki/Play_and_Loop_Sound http://wiki.secondlife.com/wiki/LlPlaySound (just to check whether the audio file is working) but I still cannot hear the audio, even when I am not getting any errors in the script. I've tried removing prims with other sounds (purchased from the marketplace) which are nearby in case their volume is too high. Any help very much appreciated!
  5. Thank you - is there another command I could use instead of Touch_Start to have the fade in/out happen automatically on a loop, or failing that when it detects an avatar? And yes, I want to change between two colours (sorry for not being clear). I'm not sure which bits of the colour script I should remove or change to go from say, aqua to fuschia? Thanks again :-)
  6. Hi, I am new to scripting, but there are two elements that I would like to apply to some of the objects on my build: 1) apply some kind of transparency loop - so the object appears to fade in and out by itself (I'm trying to create the effect of a projection) 2) apply a rotation between two colours - again on a loop Thank you very much!
×
×
  • Create New...