Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Editing Entity
From Quake Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
===Spawnflags=== | ===Spawnflags=== | ||
− | Spawnflags is the name given to a particular key that all entities support and is used to store multiple boolean parameters (flags) in a single key/value pair. The value of spawnflags is a number typically between 0 and 4096 | + | Spawnflags is the name given to a particular key that all entities support and is used to store multiple boolean parameters (flags) in a single key/value pair. The value of spawnflags is a number typically between 0 and 4096 and is calculated by adding the values given to each flag together. The value for any single flag is always a power of two. This is so that when loading a level, Quake can understand from the value of spawnflags which flags were set and which were not. |
One of the uses of spawnflags is to tell Quake whether or not to spawn entities into the level on level load. These flags are listed below: | One of the uses of spawnflags is to tell Quake whether or not to spawn entities into the level on level load. These flags are listed below: |