Jump to content

Avatar and object interactions


GlenHagen
 Share

You are about to reply to a thread that has been inactive for 3502 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I've been searching the web for the last 12 hours to find any information about how to script objects so that avatars can interact with them. But without any luck.

For example: if you click on a sink, your avatar pops in front of it and starts washing its hands in a looped animation. And you must click the “stand” button to release your avatar.

I've already created animations and some other scripts that make objects change and move with sounds. Now I want to learn how to make objects and avatars interact, like described.

Thanks in advance for any pointers! :)

Link to comment
Share on other sites


GlenHagen wrote:

For example: if you click on a sink

llSetClickAction


GlenHagen wrote:

your avatar pops in front of it

llSitTarget


GlenHagen wrote:

starts washing its hands in a looped animation

llStartAnimation

 You might also be interested in free examples of 'Poseball' scripts. There's an official set of LSL examples here.

A full list of available LSL functions and events is available at the Second Life Wiki LSL Portal.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3502 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...