Jump to content

switch from invisible/ visible script?


headda
 Share

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

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

Recommended Posts

is there any script that when you wear two things on ur avi like for example two cubes and you want one cube to be invisible and one visible and whenever you click on it it switches making the other visible and the visible one invisible ? like switch between them whenever you click on it

Link to comment
Share on other sites

It's an easy script either way, but if they're separate attachments (so separate objects) they'd need separate scripts that communicate by sending llRegionSayTo() each other's listen() event handlers by directing those messages to the owner (to which they're attached). If they're both parts of the same attached object, only need one script that toggles alpha on the links or faces that make up the different cubes of the attachment.

If you're not up for trying such a script yourself (with help here), you can recruit somebody to make one for you in the Inworld Employment forum. It'll save time to specify whether they're separate attachments or different links (or faces) of a single object.

Link to comment
Share on other sites

If every link in the object is subject to the visibility/invisibility, you can sometimes set the entire linkset invisible then make just the link you want to be visible, visible:

llSetLinkAlpha(LINK_SET,0.0,ALL_SIDES);
llSetLinkAlpha(someLinkNumber,1.0,ALL_SIDES);

 

Edited by Quistess Alpha
Link to comment
Share on other sites

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