Yeah, the random() function is a bit tricky with its upper and lower bounds. Keep in mind you have floor() and ceil(), which will either truncate, or truncate and add one. Here's what you get from int, floor, and ceil: ceil(5.6) gives 6 floor(5.6) gives 5 int(5.6) gives 5
That's right, the int function does not round.
Keep this all in mind, and in some cases, consider using the choose() function to randomly choose between a fixed set of parameters.
Your capx is messed up as it is not choosing a random house... You are doing something about letters. Maybe it would be better if you told us exactly what you want to accomplish. If you want him to appear at a random house, use the capx I sent you. What about mine isn't working for you? To choose from a set of parameters, use the choose() function.