something like c_scan?

Posted By: Mahdi

something like c_scan? - 04/17/11 02:48

hi,

I need to check if player can see an object in front of it so he can pick that object. something like c_scan. But I don't want to use c_scan for that.

anyway?
Posted By: bk9iq

Re: something like c_scan? - 04/17/11 03:20

How abt "vec_dist" .... set it so that whenever u come too close to the object u pick it up...
Posted By: FoxHound

Re: something like c_scan? - 04/17/11 03:58

Also C_trace to make sure there is nothing blocking the player from seeing that object.
Posted By: 3run

Re: something like c_scan? - 04/17/11 06:49

Make combination of "c_scan" plus "c_trace" that way you'll be able to pick up only visible object in front of player.
© 2024 lite-C Forums