Custom Sequence Event
Init Pose
Init pose before first setupBonePhysically
- set “need init flag” on the entity.
- check this flag before setupBonePhysically
流程
EngineLoadProgram
int DLLEXPORT Initialize( cl_enginefunc_t *pEnginefuncs, int iVersion )
{
EV_HookEvents();
{
// 注册事件的响应函数。
gEngfuncs.pfnHookEvent( “events/glock1.sc”, EV_FireGlock1 );
}}
void DLLEXPORT HUD_Init( void )
UpdateScreen
renderScene
PostRender
{
HUD_Redraw
}