|
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
|
08-09-2007 14:08
(Mod: please delete my accidential posting to the wrong scripting group) /me blushes
The subject wasn't just me being friendly
I've really done it to myself this time. I'm trying to create a greeting card, Basically an open and close (like a door script, but linked). I've bounced through the libraries, and most door scripts I can see don't take well to linking or, in one case, seem to will themselves into door shape.
Anyone have a suggestion for a script that will do the job *and* be linkable?
Mari
_____________________
  "There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden "If you find children offensive, you're gonna have trouble in this world  " - Prospero Linden
|
|
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
|
08-09-2007 14:43
Probably lots to choose from, but out of habit I generally start with "Timeless Linked Door"  . For this application, one would presumably tinker with the sound effects, permissions settings, auto-close... make it less door-like, I suppose. (Actually, for this app, I'd start from scratch, unless my greeting card needed a doorbell sound. Oh, book scripts might be another option.)
|
|
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
|
08-09-2007 21:38
Just remember to change the script from:
llSetRot
to
llSetLocalRot
llSetRot will rotate an entire object, whereas llSetLocalRot will rotate only the prim itself. (EXCEPTION: If your prim is the 'root' prim, llSetLocalRot will still rotate the whole object)
_____________________
--AeonVox--Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
|