this is the best tutorial for unreal blueprints and what you need sounds like some simple variables, arithmetic, and some loops/if statements.