FireEntityOutput Function

Fire a named output on an entity.

After completion (successful or not), the current global variant is re-initialized.

void FireEntityOutput(int caller, const char[] output, int activator, float delay)

Parameters

int caller

Entity index from where the output is fired.

const char[] output

Output name.

int activator

Entity index which initiated the sequence of actions (-1 for a NULL entity).

float delay

Delay before firing the output.

Errors

Invalid entity index or no mod support.