before setting the looping task.. it would be a good idea to check if its even needed.. something like:
Code:
new ent = engfunc(EngFunc_FindEntityByString,-1,"classname","func_rotating")
if(ent)
//set looping task here
otherwise there isnt any func_rotating entities and theres no need to have it do anything
__________________