Jump to content

Scrpting


Kai Marques
 Share

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

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

Recommended Posts

There are several good resources, such as the wiki (I can't vouch for the tutorials specifically, but it's the only accurate and up to date reference for language features) ; Builder's brewery often has classes on scripting topics ; and I think there's a few other places in-world with self-guided tutorial/courses.

Nothing is specific to food though.

  • Thanks 1
Link to comment
Share on other sites

It might help to understand that food (what scripting is concerned) is usually not more then https://wiki.secondlife.com/wiki/LlStartAnimation
with a animation and triggered from a attach event.

The "consumable" food (that changes), in most cases, is a object consisting of multiple meshes (each reflecting a "eaten state").
In regards to the script its just hiding and showing the meshes: https://wiki.secondlife.com/wiki/LlSetLinkAlpha

When it comes to food that magically attaches to you i would suggest you leave that until you fully understand the above and use something like avsitter instead.
Anyways here's the wiki for that: https://wiki.secondlife.com/wiki/LlAttachToAvatarTemp

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 638 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...