Actually, looking at what @Naiman Broome already had and how close it is to something more workable, I'd feel bad charging her for it: integer timer_cycles = 21; float max_drift_squared = 0.2; integer timer_count; vector home_pos; vector FindGroundOrWater() { vector vTarget = llGetPos(); vTarget.z = llGround( ZERO_VECTOR ); float fWaterLevel = llWater( ZERO_VECTOR ); if( vTarget.z < fWaterLevel ) vTarget.z = fWaterLevel; return vTarget; } default { state_
    • Like
    1