Func lookdoor
Jump to navigation
Jump to search
Entity Description
A door that moves either when looked by a targeted object or when a target object comes near the door. Behavior can be either based on viewing direction or proximity alone, or on a combination of both. If inverted the doors behavior will be the opposite.
Availability
Template:In game Template:Game Template:In code
Keyvalues
- Template:Kv func movelinear
- ProximityDistance
- <string> If non-zero, proximity range over which door will move. Default: 0.0
- ProximityOffset
- <string> Offset from the target object. Default: 0.0
- FieldOfView
- <string> If non-zero, field of view over which door will move. Default: 0.0
Flags
- Template:Fl func movelinear
- 8192 : LookDoor Threshold
- 16384 : LookDoor Invert
- 32768 : LookDoor From Open
Inputs
- Template:I func movelinear
- InvertOn
- InvertOn - when set behavior of door is inverted.
- InvertOff
- InvertOff - when set behavior of door is normal.