 |
 |
trigger_damagable
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
Variable sized repeatable trigger. Must be targeted at one or more entities.
Fires trigger when killed.
The basic time between firing is a random time between (wait - random) and (wait + random).
Keys
| Key |
Type |
Default |
Description |
| call |
var |
|
script function to call when triggered |
| enabled |
bool |
|
initially enabled (default 1) |
| wait |
var |
0.5 |
seconds between triggerings. Use '-1' to indicate one time only. (default 0.5) |
| random |
var |
0 |
wait variance (default 0) |
| health |
var |
1 |
amount of damage to take before triggering |
| triggerBehavior |
var |
4 |
describes what can trigger the trigger. 0 is player only, 1 is friendlies only, 2 is monsters only, 3 is player, monsters, and friendlies, 4 is trigger_classes, 5 is anything. Default: 0. players, monsters, characters, and func_activtors can trigger triggers |
| damageCallRef |
var |
|
script function to call each time damaged with damagetype |
Editor
| Property |
Value |
| Type |
brush entity |
| Spawn class |
hhDamageTrigger -> hhTrigger -> idEntity -> idClass |
| Color |
0.75 0.0 1.0 |
Script events
| Event |
Declared by |
| enable |
hhDamageTrigger |
| disable |
hhDamageTrigger |
| activate |
hhTrigger |
| deactivate |
hhTrigger |
| 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
|
|
 |
 |
|
 |
 |
 |
| No blog post has a picture yet. |
|
 |
 |
 |
 |
IRC: #func_arena @ irc.libera.chat
Discord: Map-Center
41 fraggers right now. Be nice to others.
|
|
 |
 |
|