Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "DP SV ONENTITYNOSPAWNFUNCTION"

From Quake Wiki

(New page: Engine-called QC prototypes: <pre> void() SV_OnEntityNoSpawnFunction; </pre> This function is called whenever an entity on the server has no spawn function, and therefore has no defined Q...)
(No difference)

Revision as of 13:37, 29 February 2008

Engine-called QC prototypes:

void() SV_OnEntityNoSpawnFunction;

This function is called whenever an entity on the server has no spawn function, and therefore has no defined QC behavior.

You may as such dictate the behavior as to what happens to the entity.

To mimic the engine's default behavior, simply call remove(self).