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

DP SV ONENTITYNOSPAWNFUNCTION

From Quake Wiki

Revision as of 13:37, 29 February 2008 by KrimZon (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).