Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Allow scripts to attach items to avatars

Cristiano Midnight
Evil Snapshot Baron
Join date: 17 May 2003
Posts: 8,616
10-06-2004 04:16
To help add a new level of interactivity with our avatars, please allow us a way for a script to give an object to a user and have that object be instantly attached to the avatar (essentially going into their inventory and then being automatically worn, as you can do with clothing when sold by contents). Obviously, you would need a permission dialog, otherwise we could go around attaching stuff to people (an amusing thought, but I digress). It would be one less interaction users have to make with the godawful inventory window, and add some realism ( for example, a vending machine or bar offering a drink would instantly put the drink in the avatar's hand, instead of going into their inventory and forcing them to go find it and attach it).

Edit - corrected the word people LOL.
_____________________
Cristiano


ANOmations - huge selection of high quality, low priced animations all $100L or less.

~SLUniverse.com~ SL's oldest and largest community site, featuring Snapzilla image sharing, forums, and much more.

Kris Ritter
paradoxical embolism
Join date: 31 Oct 2003
Posts: 6,627
10-06-2004 05:29
and and and you could script a 'auto dresser' which finds all your crap to make up one attachment based avatar and sticks em all on! And if it could attach clothes too... omg...

*walks to scripted closet, presses 'kitty', and gets kitt(i)ed out with tail, ears, paws, collar and catsuit.*

mwee! almost as good as symbolic links!
_____________________
Azelda Garcia
Azelda Garcia
Join date: 3 Nov 2003
Posts: 819
10-06-2004 05:45
Now if only that would work in real-life :-O
_____________________
Apotheus Silverman
I write code.
Join date: 17 Nov 2003
Posts: 416
10-06-2004 08:27
This is a great idea.
_____________________
Apotheus Silverman
Shop SL on the web - SLExchange.com

Visit Abbotts Aerodrome for gobs of flying fun.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
10-06-2004 09:22
I support this.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
10-06-2004 20:30
Sure. The Occam's razor of drink, drank, drunk. LOL.

Ah Cristiano, intuitivity is definitely the name of the more-than-a-game here.

Simple, beautiful = simply beautiful.
_____________________
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
10-07-2004 02:16
I heavily endorse this, as Cristiano said, it would allow us to add a whole new level of interactivity to things.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
Marcos Fonzarelli
You are not Marcos
Join date: 26 Feb 2004
Posts: 748
10-07-2004 10:44
I endorse this product and/or feature.
Rickard Roentgen
Renaissance Punk
Join date: 4 Apr 2004
Posts: 1,869
10-07-2004 14:17
Um... you can do this, have the object rez, and ask them for permission to attach, then call llAttachToAvatar. Walla, object attaches to avatar and since you own anything attached it is also essentially giving itself to the avatar (it'll show up in their inventory as attached.
Cristiano Midnight
Evil Snapshot Baron
Join date: 17 May 2003
Posts: 8,616
10-07-2004 15:37
Your suggestion won't work. That function fails if you try to attach an object not owned by the person being attached to, even if they grant permission
_____________________
Cristiano


ANOmations - huge selection of high quality, low priced animations all $100L or less.

~SLUniverse.com~ SL's oldest and largest community site, featuring Snapzilla image sharing, forums, and much more.

Torley Linden
Enlightenment!
Join date: 15 Sep 2004
Posts: 16,530
10-07-2004 16:07
Isn't it ironic how sometimes... the simplest things are so hard to do? But when everything works fluidly, it works beautifully? :)
_____________________
Driftwood Nomad
Registered User
Join date: 10 May 2003
Posts: 451
10-07-2004 16:21
This would be great if there was an event that fired when the avatar teleports. As many of you know, Darrly Chang and I sell virtual dogs, and they don't teleport with the owner, whcih causes them to go into "lost" mode when the owner teleports.

If there were an event called llBeforeTeleport or something like that, I could attach the dog to the avatar before he teleports, then they would arrive at the destination with the dog, and then llAfterTeleport would fire which would detach the dog.

Pretty please? :-)
_____________________
Driftwood Nomad
D&D Dogs Co-founder

"Second Life’s first AI companion animal"
The Second Opinion, 08/05/2003

D&D Dogs HQ Pawaii (127, 63)
Mainland Store Kuula (214, 124)

http://www.sldogs.com

SL Dogs Zazzle store!