Enum FuncDoor.SpawnFlag ​
Namespace: ValveResourceFormat.Renderer.Entities
Assembly: Renderer.dll
What a func_door's spawnflags mean.
[Flags]
public enum FuncDoor.SpawnFlag : uintFields ​
StartsOpen = 1
The old way to spawn open: the door spawns at its open end and treats it as closed, so the fully open and fully closed outputs swap too.
NonSolidToPlayer = 4
Non-solid to the player, which also means the player can never block it: a player in its way is carried the whole push, through anything else if need be. Only the never-blocking part is modeled.
Passable = 8
Things pass straight through it.
Toggle = 32
Stays open once opened, rather than coming back by itself. Source's SF_DOOR_NO_AUTO_RETURN.
UseOpens = 256
The player may open it by pressing use. Source's SF_DOOR_PUSE.
TouchOpens = 1024
Opens when the player walks into it.
StartsLocked = 2048
Spawns locked, and stays that way until something unlocks it.
IgnoreUse = 32768
Refuses use entirely, whatever else is set.
NewUseRules = 65536
Also takes a use while moving, the way a prop door does.

