spectre0618 Posted August 19, 2006 I have been trying to get this security camera script to work but for some reason it just wont do what I want. int cam = 0; script 8 (int min, int max) { if (cam < min || cam >= max) cam = max; else cam++; ChangeCamera(70, 0, 1); } It's supposed to cycle between my cameras (tid's 70-74) but for the life of me I can't figure out how. I've tagged the activator line with the acs script execute properly but it never leaves the first camera. Anyone know why? 0 Share this post Link to post
spectre0618 Posted August 19, 2006 I replaced the min and max values with the corresponding TID's already so thats not it. 0 Share this post Link to post
Ixnatifual Posted September 3, 2006 #include "zcommon.acs" int currentCam = 70; int firstCam = 70; int lastCam = 74; script 1 (void) { ChangeCamera(currentCam, 0, 1); if (currentCam < lastCam) currentCam++; else currentCam = firstCam; } This works in a small map I have. If you want I can mail it to you. 0 Share this post Link to post
Mike Stefen Posted July 17, 2016 Security is most important thing and security cameras play important role in our daily life. If someone needs best security cameras service then contact with us and ask frequently. 0 Share this post Link to post
Voros Posted July 17, 2016 Mike Stefen said:Security is most important thing and security cameras play important role in our daily life. If someone needs best security cameras service then contact with us and ask frequently. You didnt even give a contact number. 0 Share this post Link to post
snapshot Posted July 17, 2016 Mike Stefen said:Security is most important thing and security cameras play important role in our daily life. If someone needs best security cameras service then contact with us and ask frequently. Fonze said:https://www.youtube.com/watch?v=koxwue0SPVA Spoiler 0 Share this post Link to post
Recommended Posts