Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Simple Script needed

LordTallPaul Alter
Registered User
Join date: 8 Feb 2008
Posts: 2
10-08-2008 15:23
i have been learning scripting but need a simple one but stuck as i cant get a animation to work when you walk or get close to an object i would be very grateful of any help with this script :-)
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
10-08-2008 22:23
since it's not something attached or sat on. it wouldn't automatically play the animation unless it was previously given permission to animate the avatar that's near/walking on it. sitting on or wearing something that animates you avatar bypasses the menu needed to grant the permissions. so if you need to ask for permissions before the person needs to actually be animated, you would need a sensor that senses when they enter the area that will ask for permissions. it wouldn't be very practical. you could though...if the usage fits what you need it for......sell/give a hud to the avatar that contains the animations and the script to animate them, have them wear it, and when they get near the object, it will send a command to the hud to animate the avatar
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369