native

fake_touch

Syntax

native fake_touch(entTouched, entToucher);

Description

Forces an entity to touch another entity.

Parameters

entTouched Index of entity being touched
entToucher Index of entity touching

Note

This calls the game touch function even when the entities do not
intersect. It doesn't change their origins and/or bounding boxes.

Return

This function has no return value.

Error

If an invalid entity index is provided or, if the index
is a client index, the client is not connected, an error
will be thrown.