heya there,
maybe you want to check out the
"phent_addforcelocal(entity, vecforce, vecpoint);" function, with it, you can decide the amount of the force applied to an entity(vecforce) dependent on the entitys location (vecpoint --> y-achse, x-achse, z-achse, pan, tilt and roll of the entity).

in this way you can let a force applying to an entity to
vecpoint.x = 0, vecpoint.y = 0, vecpoint.z = -50.

now check what kind of shoot/pass were done and change vecforce.z for its purpose

you also can do a banana shot(shot with spin) when you change the values of vecforce.x and vecforce.y while a shot is performing.

hope this helps

cheers

Zwecklos

Last edited by zwecklos; 01/24/06 02:23.