Jump to content

Charon Allen

Resident
  • Posts

    7
  • Joined

  • Last visited

Reputation

1 Neutral

Recent Profile Visitors

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

  1. My take on this : SetATexture(string to, string from) { integer i; // defaults to zero integer j = llGetNumberOfPrims(); for (; i < j; i++) // scan over all prims from 0 to Number of Prims (1 or more) { string primName = llGetLinkName(i); // get the name of the prim if (primName == from) // check the name { llSetLinkTexture(i,to, ALL_SIDES); // set the alpha we were sent } } } You see, I think she is passing the string nameof the textures to replace and being replaced.
  2. Um, I would suggest the following: touch_end(integer total_number) { if (llSameGroup(llDetectedKey(0)){ state closed; //or state open, depending where we are } else{ llRegionSayTo(llDetectedKey(0),0,"Sorry, but you do not have the right group tag active to use this door"); } }
×
×
  • Create New...