Raised This Month: $ Target: $400
 0% 

[?] Func_Breakable & Entity_remove


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 01-06-2015 , 16:48   [?] Func_Breakable & Entity_remove
Reply With Quote #1

Hi,

Im a bit puzzled as to how func_breakables actually gets removed when they die. The function "CBreakable :: Die( void )" is called when the breakable is destroyed.

CBreakable::Die( void )


It's pretty clear towards the end of the function that SUB_Remove is called which will call ENTITY_REMOVE:

SUB_Remove( void )


However it doesn't seem like ENTITY_REMOVE is called when Im hooking it and destroying the breakable.
teh ORiON 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 21:19.


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