AniMud
09-06-2009, 10:47 AM
I'm wondering if someone can help me....
What i'm trying to do is basically have a script output a great deal of numbers.... based on co-ordinates... like x y z
This is what i want it to output:
x: -150 to +150
y: -150 to +150
z: -150 to +150
But seeing as this will be placed inside a database, for every "x" there has to be a "y". and as i'm trying to make a perfect square, it would have to be like....
INSERT INTO 'map' (
`x` ,
`y` ,
`z` ,
)
VALUES (
'-150', '-150', '1'
);
so before x goed to -149, y would need to have already gone through the whole -150 to +150 thing...
i hope you can understand lol
What i'm trying to do is basically have a script output a great deal of numbers.... based on co-ordinates... like x y z
This is what i want it to output:
x: -150 to +150
y: -150 to +150
z: -150 to +150
But seeing as this will be placed inside a database, for every "x" there has to be a "y". and as i'm trying to make a perfect square, it would have to be like....
INSERT INTO 'map' (
`x` ,
`y` ,
`z` ,
)
VALUES (
'-150', '-150', '1'
);
so before x goed to -149, y would need to have already gone through the whole -150 to +150 thing...
i hope you can understand lol
