default
{
state_entry()
{
llSensorRepeat("", NULL_KEY,ACTIVE|PASSIVE|AGENT, 96.0, TWO_PI,.1);
llSensorRepeat("", NULL_KEY,AGENT, 10.0, TWO_PI,0.01 );
}
sensor(integer num_detected)
{
llSay(0,"test"
;}
}
These forums are CLOSED. Please visit the new forums HERE
How To Change This Sensor |
|
|
BioMolecular Chemistry
Registered User
Join date: 16 Apr 2008
Posts: 24
|
10-25-2008 14:24
How do I make it so that this sensor detects moving or non moving objects be they physical or not, both scripted and non scripted please??
default { state_entry() { llSensorRepeat("", NULL_KEY,ACTIVE|PASSIVE|AGENT, 96.0, TWO_PI,.1); llSensorRepeat("", NULL_KEY,AGENT, 10.0, TWO_PI,0.01 ); } sensor(integer num_detected) { llSay(0,"test" ;} } |
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
10-25-2008 14:32
well according to lslwiki.net, combining different sensor flags sometimes returns different results than expected. but you have agent in there, agent is to detect avatars, you're wanting to detect objects? then i would at least remove agent from there. have a read here:
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |