the best way to create a ladder is to put clip brush around the actual ladder structure, then with the clip brush selected, hit "s" check "ladder" and click "apply brush". You can apply the ladder flag directly to other brushes, but it sometimes makes them difficult to climb. A clip brush is just a brush with the clip flag checked, btw. If you use the clip texture, this is set by default.