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...)
 
 
Line 9: Line 9:
  
 
To mimic the engine's default behavior, simply call remove(self).
 
To mimic the engine's default behavior, simply call remove(self).
 +
[[Category:DarkPlaces]]

Latest revision as of 02:21, 25 March 2013

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