Jump to content

help i know nothing about scripts


Amy Dominica
 Share

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

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

Recommended Posts

hey everyone i was wondering if anyone could help me out with a script it seems simple to me but may not be simple to make. I am looking for a script that when /8 open is typed in local the object will not only turn invisible but become phantom and when /8 close is typed in local the object will be seen again and become physical again. this is for a "hidden room" in a build im doing for a photography studio but the client wants it to where unless you cam through the building you cant use her posestand so if anyone can plz help me out it would be greatly appreciated :) you can contact me inworld (amy.dominica)

Link to comment
Share on other sites

Quick Russle up for you.

 

default
{

state_entry() {
llListen(8,"", NULL_KEY, "");
}

listen(integer channel, string name, key id, string message) {
if (message == "open") {

llSetAlpha(0,ALL_SIDES);
llSetStatus(STATUS_PHANTOM, TRUE);
}
else if (message == "close") {
llSetAlpha(100,ALL_SIDES);
llSetStatus(STATUS_PHANTOM, FALSE);
}
}

}

Link to comment
Share on other sites

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