/////////////////////////////////////////////////////////////////////////// // Copyright (C) Wizardry and Steamworks 2011 - License: GNU GPLv3 // // Please see: http://www.gnu.org/licenses/gpl.html for legal details, // // rights of fair usage, the disclaimer and warranty conditions. // /////////////////////////////////////////////////////////////////////////// default { state_entry() { llSetTimerEvent(1); } timer() { float w = llCloud(ZERO_VECTOR); if(w > 1) { llMessageLinked(LINK_THIS, 1, "", NULL_KEY); return; } llMessageLinked(LINK_THIS, 0, "", NULL_KEY); } }