Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "spawn (function)"
From Quake Wiki
Line 2: | Line 2: | ||
<code>entity spawn()</code> | <code>entity spawn()</code> | ||
− | Used to create a new entity | + | Used to create a new, empty entity. You can manually set every field, or just set the origin and call one of the existing entity setup functions. |
====Parameters:==== | ====Parameters:==== | ||
:None | :None |
Revision as of 17:48, 2 May 2015
Syntax:
entity spawn()
Used to create a new, empty entity. You can manually set every field, or just set the origin and call one of the existing entity setup functions.
Parameters:
- None
Returns:
- A new entity