yes is quite a few cases where states make sense for the reasons you mention a smart house fr example that does stuff on presence of the home owner default { state_entry() { llSensorRepeat("", llGetOwner(), AGENT, 64.0, PI, 60.0); } sensor(integer num_detected) { state ownerAtHome; } } state ownerAtHome { state_entry() { // .. unlock the doors // .. turn the lights on // .. start the fireplace burning // .. put the kettle on //
    • Like
    2