NAVIGATION
Wiki » Reference » object_ entities » object_security_eye
ARTICLE
object_security_eye
This is an entity on id Tech 4 engines, present on Prey. Below you can find its spawnflags, keys and editor settings for each game that defines it.
Prey
Security Eye variables:
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| minPitch | var | 0 | min look pitch |
| maxPitch | var | 0 | max look pitch |
| minYaw | var | -45 | min look yaw |
| maxYaw | var | 45 | max look yaw |
| startPitch | var | 0 | start pitch |
| startYaw | var | 0 | start yaw |
| pitchRate | var | 50 | pitch rate |
| yawRate | var | 50 | yaw rate |
| fov | var | 90 | field of view |
| pathScanRate | var | 50 | rate when using path scan nodes |
| pathScanNode | var | use these to define your path node (example: 'pathScanNode1', 'pathScanNode2', etc...) | |
| usePathScan | var | 0 | use path scan nodes |
| triggerOnce | var | 1 | one shot trigger |
| lengthBeam | var | 4096 | length of beam |
| enabled | var | 1 | start enabled |
| call | var | same as hhTrigger | |
| callRef | var | same as hhTrigger | |
| trigger_class | var | same as hhTrigger | |
| triggerBehavior | var | same as hhTrigger |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | hhSecurityEyeBase -> idEntity -> idClass |
| Min | 0 -20 -20 |
| Max | 6 20 20 |
| Color | 1 .5 0 |
Script events
| Event | Declared by |
|---|---|
| enable | hhSecurityEyeBase |
| disable | hhSecurityEyeBase |
| activate | hhSecurityEyeBase |
| moveToJoint | idEntity |
| moveToJointWeighted | idEntity |
| moveJointToJoint | idEntity |
| moveJointToJointOffset | idEntity |
| setSkin | idEntity |
| spawnDebris | idEntity |
| delayDamageEntity | idEntity |
| dispose | idEntity |
| setDeformation | idEntity |
| setFloatKey | idEntity |
| setVectorKey | idEntity |
| setEntityKey | idEntity |
| playerCanSee | idEntity |
| setContents | idEntity |
| setClipmask | idEntity |
| setPortalCollision | idEntity |
| killbox | idEntity |
| getName | idEntity |
| setName | idEntity |
| findTargets | idEntity |
| activateTargets | idEntity |
| numTargets | idEntity |
| getTarget | idEntity |
| randomTarget | idEntity |
| bindToJoint | idEntity |
| removeBinds | idEntity |
| bind | idEntity |
| bindPosition | idEntity |
| unbind | idEntity |
| setOwner | idEntity |
| setModel | idEntity |
| getShaderParm | idEntity |
| setShaderParm | idEntity |
| setShaderParms | idEntity |
| setColor | idEntity |
| getColor | idEntity |
| isHidden | idEntity |
| hide | idEntity |
| show | idEntity |
| cacheSoundShader | idEntity |
| startSoundShader | idEntity |
| startSound | idEntity |
| stopSound | idEntity |
| fadeSound | idEntity |
| getWorldOrigin | idEntity |
| setWorldOrigin | idEntity |
| getOrigin | idEntity |
| setOrigin | idEntity |
| getAngles | idEntity |
| setAngles | idEntity |
| getLinearVelocity | idEntity |
| setLinearVelocity | idEntity |
| getAngularVelocity | idEntity |
| setAngularVelocity | idEntity |
| getSize | idEntity |
| setSize | idEntity |
| getMins | idEntity |
| getMaxs | idEntity |
| touches | idEntity |
| setGuiParm | idEntity |
| setGuiFloat | idEntity |
| getNextKey | idEntity |
| setKey | idEntity |
| getKey | idEntity |
| getIntKey | idEntity |
| getFloatKey | idEntity |
| getVectorKey | idEntity |
| getEntityKey | idEntity |
| restorePosition | idEntity |
| updateCameraTarget | idEntity |
| distanceTo | idEntity |
| distanceToPoint | idEntity |
| startFx | idEntity |
| waitFrame | idEntity |
| wait | idEntity |
| hasFunction | idEntity |
| callFunction | idEntity |
| setNeverDormant | idEntity |
| playRumble | idEntity |
| stopRumble | idEntity |
| remove | idClass |
Last changed Sep 21, 2026
