Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (
- delete geometry
- gridAmount = 10
- for z = 0 to gridAmount-1 do
- (
- if mod z 2 == 1.0 then
- (
- for y = 0 to gridAmount-1 do
- (
- if mod y 2 == 1.0 then
- (
- for x = 0 to gridAmount-1 do
- (
- if mod x 2 == 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
- )
- ) else
- (
- for x = 0 to gridAmount-1 do
- (
- if mod x 2 != 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
- )
- )
- )
- ) else
- (
- for y = 0 to gridAmount-1 do
- (
- if mod y 2 != 1.0 then
- (
- for x = 0 to gridAmount-1 do
- (
- if mod x 2 == 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
- )
- ) else
- (
- for x = 0 to gridAmount-1 do
- (
- if mod x 2 != 1.0 do box pos:[x,y,z] length:1 width:1 height: 1
- )
- )
- )
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement