Raised This Month: $ Target: $400
 0% 

Solved [ H3LP ] Entity disappearing?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-19-2018 , 12:26   Re: [ H3LP ] Entity disappearing?
Reply With Quote #5

It's not a bug, in Half-Life source code also it's used a engine function to set origin and size in entities (the same happens with size, better use EngFunc_SetSize or entity_set_size).

Code:
// enginecallback.h #define SET_SIZE        (*g_engfuncs.pfnSetSize) #define SET_ORIGIN      (*g_engfuncs.pfnSetOrigin) // util.cpp void UTIL_SetSize( entvars_t *pev, const Vector &vecMin, const Vector &vecMax ) {     SET_SIZE( ENT(pev), vecMin, vecMax ); } void UTIL_SetOrigin( entvars_t *pev, const Vector &vecOrigin ) {     SET_ORIGIN(ENT(pev), vecOrigin ); }
__________________









Last edited by CrazY.; 07-19-2018 at 12:27.
CrazY. 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 12:22.


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