Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Hug Menu Script..Help

Travisd Kanto
Registered User
Join date: 20 Jan 2008
Posts: 19
09-11-2008 03:59
Ok, I'm looking for a menu driven hug script.. that will search for the nearest person, and ask to animate them with the animations provided.

So far.. I am able to do /hug /1hug and /!hug [name] and it will ask to animate them and hug them.

what I want.
I want to be able to click on the hud
I want it to popup a dialog showing the nearest people
I want it to after clicking the person you want to animate to animate that person with yourself.

Example: I click hud, a dialog pops up with a friends name, I click friends name, and we both hug after he/she accepts.

Any help would be much appreciated~! ^^
Cappy Frantisek
Open Source is the Devil!
Join date: 27 Oct 2006
Posts: 400
first part easy, second not so
09-11-2008 09:43
The first part is easy, finding a name by dialog but you then have to align yourself with the avatar to make the animation come out right. Currently, there is no way to know, by LSL, in which direction an avatar is facing. So to work you'd have to be standing right in front of the avatar anyway. I'm sure if you look, you may find someone that has done it as a hud, good luck.