Hi Stain, thanks for your fast response!
Sorry but I still don`t get it, part of my brain is fried right now. Can you explain it once again, please?
That would be quite useless, for the explanation would be the same..
the clamp expression keeps the value of the variable PowerOfShot between a maximum and a minimum..
by dividing the variable PowerOfShot with the maximum power you get a number between 0 and 1, when you multiply this by 24 you get a number between 0 and 24, by rounding it it will be an integer instead of a float and the frame can be set..