NAVIGATION
Wiki » Reference » Prey Entities » debrisspawner_mutilated_male
ARTICLE
debrisspawner_mutilated_male
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
Creates a spawner that fills the volume.
Spawns the entity defined in the 'debris' keys.
To spawn multiple types, append numbers to the various keys.
ie, debris1, debris_num1, debris2, debris_min2, debris_max2, etc..
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| trigger | var | If set, wait for a trigger to spawn. | |
| multi_trigger | var | 1 = Allow multi triggers. (By default is 0/triggers and then disappears). | |
| velocity | var | Give all spawned items the velocity. Default: 0, 0, 0. | |
| power | var | 10 10 10 | Explode out at set power (seperate xyz components). Recommend that you keep x and y the same. Default: 20 20 20. |
| duration | var | 10 | If set, only keeps items around for X seconds. Zero to disable. Default: 10 |
| def_debris1 | var | debris_mutilated_head | The entityDef to spawn. For multiple types, use def_debris1.X. ie def_debris1 def_debris1.1 def_debris1.2 |
| debris_num1 | var | 1 | The number to spawn |
| debris_min1 | var | The min number to spawn. Must be used with max. | |
| debris_max1 | var | The min number to spawn. Must be used with min. | |
| pass_XXX | var | Pass the variable XXXX to all spawned entities. | |
| fx | var | fx/blood_explosion.fx | The name of the fx to spawn. |
| orientation | var | The orientation of the spawned fx. |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | hhDebrisSpawner -> idEntity -> idClass |
| Inherits | debrisspawner_monstergibs_base |
| Min | -16 -16 0 |
| Max | 16 16 90 |
Script events
| Event | Declared by |
|---|---|
| activate | hhDebrisSpawner |
| 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
