It do anything that's been programmed for.
I dont know what exactly you mean, but if kill the light when encounter a deer at night will make the deer run other way(??), than the pseudocode like follow:
-We entering West Virginia, this place well know for 1st deer, 2nd cougar, 3rd chicken, 4th...