Raised This Month: $ Target: $400
 0% 

Solved in_view_cone of entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-03-2020 , 12:33   Re: in_view_cone of entity
Reply With Quote #8

Quote:
Originally Posted by Bugsy View Post
Is bRunning definitely false?
g_PlayerID and ent are the correct player ID's?

Did you identify which of fm_is_visible(), fm_is_in_viewcone, and is_wall_between_points() is not working as expected?
because it is like single player mode so I just store it in g_PlayerID so it easier to use. I get the id from ham spawn post and tried at other part, it work normally so I don't think it is the reason

bRunning was false at that time, when I run, the zombie did change state and chase. So it is nothing wrong with bRunning

is_wall_between_points work normally because of my previous code, it did not dectect when I behind object.

both fm_is_visble and fm_is_in_viewcone didn't work when I tested it previously. Either separated and together
__________________
My plugin:

Last edited by Celena Luna; 07-03-2020 at 12:35.
Celena Luna is offline
 



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 17:12.


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