below is the segment of code that i make this building i turned it into a function and saved it as a seperate file from the main one and named it building1.dba and saved it in the same file as my other documents so now im suppose to put in include# "building1.dba" and when i run the program the building will be there? im not sure if i set the function up correctly.
function building(1)
make object cube 15,30
position object 15,5400,0,6900
scale object 15,1500,1100,50
texture object 15,5
make object cube 16,30
position object 16,5401,0,7055
texture object 16,5
scale object 16,1500,1100,50
make object cube 17,30
position object 17,5168,0,6757
rotate object 17,0,90,0
scale object 17,1000,1100,50
texture object 17,5
make object cube 18,30
position object 18,5030,0,6550
scale object 18,1000,1100,50
rotate object 18,0,160,0
texture object 18,5
make object cube 19,30
position object 19,4440,0,6500
scale object 19,3000,1100,50
texture object 19,5
make object cube 20,30
position object 20,3990,0,6945
scale object 20,3000,1100,50
rotate object 20,0,90,0
texture object 20,5
make object cube 21,30
position object 21,5061,0,6850
scale object 21,1000,1100,50
rotate object 21,0,90,0
texture object 21,5
make object cube 22,30
position object 22,4980,0,6678
scale object 22,600,1100,50
rotate object 22,0,160,0
texture object 22,5
make object cube 23,30
position object 23,4586,0,7120
scale object 23,3300,1100,50
rotate object 23,0,15,0
texture object 23,5
make object cube 24,30
position object 24,4050,0,7386
scale object 24,400,1100,50
texture object 24,5
make object cube 25,30
position object 25,4640,0,7220
scale object 25,3755,1100,50
rotate object 25,0,17,0
texture object 25,5
make object cube 26,30
position object 26,4107,0,7194
scale object 26,400,1100,50
rotate object 26,0,90,0
texture object 26,5
endfunction