![]() |
some ai questens
can any one explain me the code
talker.param2 = ( talker.param2 + 1 ); and talker.param2 = 0; and talker.param1 = gg->Rand(3); Tanks |
the code is very explainable:
talker.param2 = ( talker.param2 + 1 ); //here param2 incraeases by 1 talker.param2 = 0; //here param2 resetz to zero talker.param1 = gg->Rand(3); //and here randum vaue from 0 to 2 writez to param1 Rockets, Guns |
thanks humordwarf
|
| All times are GMT. The time now is 15:49. |