Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Equip script

Zedja Darkstone
Registered User
Join date: 8 Oct 2007
Posts: 25
11-29-2007 23:47
I'm trying to start making a personal script that is keyword activated.

What I want to do is when I say a phrase in the open channel I can change my clothes to a preset set. So that when I say "dress1" it will start equiping the clothes in the Clothing/Dress1 folder + the dress script as well so that I can reuse it for other sets.

But my problem is knowing what codes to use since this is my first script.

llListen is a possibility.

As for the clothing llAttachToAvatar I guess.

I've checked the Wiki, but I'm still unsure.
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
11-30-2007 00:07
Problem is, scripts can't operate on anything in your inventory, or at all on clothing (other than articles of prim clothing which may have scripts inside). Scripts can only operate on prims which are rezzed in the world.

You might have seen things that seem similar with weapons being drawn and holstered via voice command, but those are usually objects which are always attached and just made visible and invisible to achieve the effect.
Zedja Darkstone
Registered User
Join date: 8 Oct 2007
Posts: 25
11-30-2007 07:07
I was afraid of that. Oh well.