Func lookdoor: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (bot-assisted cleanup) | mNo edit summary | ||
| Line 33: | Line 33: | ||
| *{{o func_movelinear}} | *{{o func_movelinear}} | ||
| [[Category:Entities]] | ==See Also== | ||
| * [[func_door]] | |||
| [[Category:Entities]][[Category:Brush Entities]] | |||
Revision as of 00:36, 21 February 2006
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.