proc_kill (var mode)

proc_kill(function)

Prematurely terminates other functions that are currently in a wait state, with a filter set by mode. This command can be used for terminating certain functions that affect the my or you entity.

Parameters:

mode 1 terminates all functions called by the my entity.
2 terminates all functions called by the you entity.
4 terminates all other instances of the current function (see wait).
5 terminates all other instances of the current function that were called by the my entity.
6 terminates all other instances of the current function that were called by the you entity.
16 terminates all functions.
function function pointer for terminating all instances of that function.  A7.08   LC 

Speed:

Medium

Remarks:

Example:

See vec_lerp.

See also:

function, wait, proc_late 

► latest version online