I read one tutorial about how add rain effects. There, it uses bulletTrace, this function returns an array. There is one value that is fraction what does mean it? what others values has it?.
example:
Code: Select all
trace= bullettrace(pos, pos+(0,0,-250),true,undefined);
if (trace["fraction"] !=1) playfx(.............);
