MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Q3_TaskIDSet

Function Q3_TaskIDSet

codeJK2/game/Q3_Interface.cpp:600–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598*/
599
600static void Q3_TaskIDSet( gentity_t *ent, taskID_t taskType, int taskID )
601{
602 if ( taskType < TID_CHAN_VOICE || taskType >= NUM_TIDS )
603 {
604 return;
605 }
606
607 //Might be stomping an old task, so complete and clear previous task if there was one
608 Q3_TaskIDComplete( ent, taskType );
609
610 ent->taskID[taskType] = taskID;
611}
612
613
614/*

Callers 8

Q3_PlaySoundFunction · 0.70
Q3_Lerp2StartFunction · 0.70
Q3_Lerp2EndFunction · 0.70
Q3_Lerp2PosFunction · 0.70
Q3_Lerp2OriginFunction · 0.70
Q3_Lerp2AnglesFunction · 0.70
Q3_SetFunction · 0.70
Q3_PlayFunction · 0.70

Calls 1

Q3_TaskIDCompleteFunction · 0.70

Tested by

no test coverage detected