Fire System Help
#2

pawn Код:
enum posInfo
{
    Float: x,
    Float: y,
    Float: z,
    Float: rx,
    Float: ry,
    Float: rz,
}

new FirePositions[][posInfo] = {
    { 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000 } // Pos #1
};

new RandomLocation = random(sizeof(FirePositions));

CreateObject(FIREPARTICLE, FirePositions[RandomLocation][x], FirePositions[RandomLocation][y], FirePositions[RandomLocation][z], FirePositions[RandomLocation][rx], FirePositions[RandomLocation][ry], FirePositions[RandomLocation][rz]);
CreateObject(SMOKEPARTICLE, FirePositions[RandomLocation][x], FirePositions[RandomLocation][y], FirePositions[RandomLocation][z], FirePositions[RandomLocation][rx], FirePositions[RandomLocation][ry], FirePositions[RandomLocation][rz]);
Reply


Messages In This Thread
Fire System Help - by The_J0ker - 11.07.2011, 12:04
Re: Fire System Help - by Cameltoe - 11.07.2011, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)