Essentially, my enemies are going to start using JUMP randomly if the player doesn't keep moving (makes camping harder).
However, I don't want them to just be jumping all over the place, I want them to try and jump when close to the player - within a range of the players X coordinates.
But I have no Idea how to define a range I assumed the logic would be like this:
If "enemy" is within range: Player.x-100 to player.x+100 then "Jump"
but I can't seem to work out how do define this range.