NAVIGATION
Wiki » Reference » object_ entities » object_keeper_bed
ARTICLE
object_keeper_bed
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
Keeper spawning object. Keeper idles until triggered, then places anim to get out
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| encased_exit_offset | var | Offsets monster by this vector once the keeper plays its anim_encased_monster_exit anim. Used for canned exit anims with noclipped movement. | |
| ent_bed_fall | var | set to 1 to have keeper jump off bed at variable heights | |
| max_monsters | var | 1 | The total number of encased monsters to spawn. -1 = infinite (1) |
| anim | var | The anim to play when the case is triggered. Ie. on the droid hatch this would be 'open' | |
| anim_retrigger | var | The anim to play when the case is re-triggered. Ie. on the droid hatch this would be 'close' | |
| def_monster | var | monster_keeper | The monster def to spawn. For the droid hatch, this would be 'monster_droid' |
| anim_encased_monster_idle | var | keeper_bed_idle | The animation to play on the monster while it is encased. Ex: 'droid_hatch_idle' |
| anim_encased_monster_exit | var | exit_start | The animation to play on the monster when it exits the case. Ex: 'droid_hatch_exit' |
| monster_offset | var | 40 0 -12 | The offset relative to the case which determines the monsters encased position. |
| monster_hide | var | 0 | 1 = hide the encased monster prior to triggering him 0 = visible (0) |
| auto_retrigger_delay | var | -1 = Never retrigger, Greater than or equal to 0 = Seconds to wait before automatically retriggering this case. (-1) |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | hhAISpawnCase -> hhAnimated -> idAnimated -> idAFEntity_Gibbable -> idAFEntity_Base -> hhAnimatedEntity -> idAnimatedEntity -> hhRenderEntity -> idEntity -> idClass |
| Inherits | object_ai_spawncase |
| Min | -104 -114 0 |
| Max | 104 114 180 |
| Color | 0.5 1.0 0.5 |
Script events
| Event | Declared by |
|---|---|
| activate | hhAISpawnCase |
| setAnim | hhAnimated |
| isAnimDone | hhAnimated |
| footstep | hhAnimated |
| leftFoot | hhAnimated |
| rightFoot | hhAnimated |
| startRagdoll | idAnimated |
| launchMissiles | idAnimated |
| gib | idAFEntity_Gibbable |
| SetConstraintPosition | idAFEntity_Base |
| setAFCollision | idAFEntity_Base |
| spawnFXAlongBone | hhAnimatedEntity |
| getJointHandle | idAnimatedEntity |
| clearAllJoints | idAnimatedEntity |
| clearJoint | idAnimatedEntity |
| setJointPos | idAnimatedEntity |
| setJointAngle | idAnimatedEntity |
| getJointPos | idAnimatedEntity |
| getJointAngle | idAnimatedEntity |
| 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
