/////////////////////////////////////////////////////////////////////////// // 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. // /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// // INTERNALS // /////////////////////////////////////////////////////////////////////////// default { state_entry() { llSetTimerEvent(.5); } timer() { vector wind = llWind(ZERO_VECTOR); llLookAt(llGetPos() * llRotBetween(<1,0,0>, wind), .5, .2); } }