Jump to content

Script to turn atached mesh transparent


Jerry Eglerion
You are about to reply to a thread that has been inactive for 2148 days.

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

Recommended Posts

I dont know if you get me, i mean an script that for example if i have a mesh cat, tiger and lion atached, and i want is: when i click the hud the cat mesh hides and then the tiger mesh shows, and if click again the tiger hides (obviously the cat is already hiden) and turns to lion, like a sequence but using a 1 click hud thats all, please help me, thanks.

Link to post
Share on other sites

All you need to do is script a simple toggle switch, like a light switch, and use it to turn llSetAlpha on and off.  Because your object is almost certainly a multiprim item, you'll probably want to use llSetLinkAlpha in a loop to catch all the prims in the linkset. Then, since the lion head and the tiger head are separate items, you can just put the alpha script in both of them and send an ON signal to one of them at the same time that you send an OFF signal to the other one.  That is, assuming that you have mod perms so you can put scripts in them.  :smileywink:

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...