Benja Kepler’s SL Blog

Gestures

March 16, 2008 · Leave a Comment

Copy and paste the script:default
{
state_entry()
{
llListen(42,"",llGetOwner(),"");
}

listen(integer channel,string name,key id,string message)
{
if(message == "open") llSetPrimitiveParams([PRIM_PHANTOM,TRUE]);

if(message == "close") llSetPrimitiveParams([PRIM_PHANTOM,FALSE]);
}
}

Categories: Building · Scripting · Tutorials

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment