Python: resetting timer (Sound script available)

Monster>

I see, and agree. In that situation, elif should be encouraged. Actually, I just noticed that your example presents the situation as it is in my script. It looks like I failed to notice that elif could be, and should be used there.

Thanks for pointing that out.

That said, is using “elif” in situations like the one I mentioned in my previous post a good idea? It looks to me like it just complicates things. I mean it’s just checking for 2 values.

PlantPerson>

When it comes to programming advice, you should take Monsters’ over mine. He’s an actual programmer. I’m just a hobbyist.