Raised This Month: $ Target: $400
 0% 

know when player is in smoke


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-18-2011 , 22:01   know when player is in smoke
Reply With Quote #1

Whats the best method of catching if player is sitting in smoke. or a radius of the smoke gren mdl.
Doc-Holiday is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-18-2011 , 22:04   Re: know when player is in smoke
Reply With Quote #2

Quote:
Originally Posted by Doc-Holiday View Post
a radius of the smoke gren mdl.
That wording kinda tells you right now. If you can get the origin of the grenade then you can find enties within a radius of it (it's a sphere if you don't already know).
__________________
fysiks is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-18-2011 , 22:08   Re: know when player is in smoke
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
That wording kinda tells you right now. If you can get the origin of the grenade then you can find enties within a radius of it (it's a sphere if you don't already know).
Ive never been able to get the sphere to return correctly thats why i was asking..

It seems to only return the closest to the origin
Doc-Holiday is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-18-2011 , 23:05   Re: know when player is in smoke
Reply With Quote #4

IIRC, you have to loop with it and then when you find the entity that you were looking for then you stop the loop. Anything beyond that advice I can't help
__________________
fysiks is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-18-2011 , 23:32   Re: know when player is in smoke
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
IIRC, you have to loop with it and then when you find the entity that you were looking for then you stop the loop. Anything beyond that advice I can't help
Ill play with it some more.. any ideas on the origin of the grenade? i know that

The Grenade is thrown. Then Entity created. then the CreateSmoke or w/e is called lol but whats the location of the smoke entity.
Doc-Holiday is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode