new ent = engfunc(EngFunc_FindEntityByString,-1,"classname","func_rotating") if(ent) //set looping task here