Cheryl, thanks so much! This solution worked great after a slight amount of tweaking.
Here is how it ended up, and below is the code that I ended up using
GableRoof --> #Sets the angle of the roof and differentiates the slants and sides of the roof, textures with an image
s('1, '2, 0)
roofGable(RoofAngle)
s('1, '0.5, '0.5)
t(0,0,'1)
comp(f) {top:Texture("SlopedRoof") | side: Texture("RoofWall")}
Again, thanks a lot, this has had me stumped for a couple days, and now I should be able to apply it to a couple more buildings.