I did try parenting null to camera and give this script .. but it has some issue
dropMenu = comp(“Comp 2”).layer(“Null 3”).effect(“Camera Rotation LoopIn”)(“Menu”);
s = thisComp.layer(“Null 4”).effect(“Slider Control”)(“Slider”);
if (dropMenu==1) {time*s} else {0};
and anybody please tell how to define “the amount of rotation to be done on certain time” in script language.