function mrr()
{
echo("Start of MoveRock Function");
$rockPile[0] = Bold1;
$rockPile[1] = Bold2;
$rockPile[2] = Bold3;
echo($rockPile[0]);
$dropPoints[0] = fall1;
$dropPoints[1] = fall2;
$dropPoints[2] = fall3;
%countRocks = 2;
%countDrops = 2;
%randRock = mFloor(getRandom((%countRocks)));
%randDrop = mFloor(getRandom((%countDrops)));
echo(%randRock);
echo(%randDrop);
echo($dropPoints[%randDrop]);
echo($rockPile[%randRock]);
%temp = $dropPoints[%randDrop].getTransform();
%lx = getword(%temp,0);
%ly = getword(%temp,1);
%lz = getword(%temp,2);
$rockPile[%randRock].setTransform(%lx SPC %ly SPC %lz SPC "0 0 1 0");
echo("End of MoveRock Function");
}
-Lonny
Monday, May 17, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment