thanks for the help. My character's jump is triggered when you hit the down key, & the amount of the jump force is controlled by what region another actor is in.
I discovered I could limit the number of jumps by killing the other actor after the down key event. It ain't pretty, but it works for testing purposes. Your method appears to allow the jump count to be reset, which I think I need in order for the pellets to work.