NAVIGATION
Wiki » Reference » info_ entities » info_reaction
ARTICLE
info_reaction
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
use for marking a position in space\n
This entity contains all of the keys for use with the AI reaction system\n
These keys can be used to customize a reaction msg.
Keys
| Key | Type | Default | Description |
|---|---|---|---|
| cause | var | How to get the effect out of this entity. [Damage, Touch, Use, None, PlayAnim] | |
| effect | var | The effect of doing the cause to this entity. [Damage, Heal, HaveFun, ProvideCover] | |
| effect_radius | var | Only entities within this distance will be effected by this entity. -1 = Infinite radius(-1) | |
| effect_min_radius | var | Only entities at least this far away will be effect by this entity. (0) | |
| effect_weight | var | The strength of this effect. [0.0 -> 1.0] (0) | |
| effect_weight_radius | var | The strength of this effect when the effected entity is effect_radius units away (0) | |
| effect_all_players | var | 1 = All players are effected by this entity. effect_radius is still used to filter. (0) | |
| effect_all_monsters | var | 1 = All monsters are effect by this entity. effect_radius is still used to filter. (0) | |
| effect_listener | var | 1 = The monster that receives this message becomes the entity effected by this reaction. (0) | |
| effect_volume | var | The name of the reaction_volume to use. Only entities INSIDE this volume will be effected. | |
| exclusive | var | 1 = Only one monster can do this cause at a time. 0 = Multiple can respond simultaneously (0) | |
| anim_face_cause_dir | var | 1 = Before playing an animation, face the direction of the cause entity. (0) | |
| anim_trigger_cause | var | 1 = Before playing an animation, trigger the cause entity. (0) | |
| req_novehicle | var | 1 = A monster must not be using a vehicle to receive this message (0) | |
| req_key | var | <key val> A particular key/value pair is required to receive this message | |
| req_anim | var | <anim name> A particular animation is required to receive this message. This anim will be used as the anim to play if cause = PlayAnim | |
| req_rangeattack | var | 1 = A monster must have a range attack to receive this reaction (0) | |
| req_meleeattack | var | 1 = A monster must have a melee attack to receive this reaction (0) | |
| req_can_see | var | 1 = A monster must be able to see this cause entity to receive this reaction (0) | |
| listener_radius | var | Only monsters closer than this distance will receive this reaction. -1 = Infinite distance (-1) | |
| listener_min_radius | var | Only monsters farther than this distance will receive this reaction. (0) | |
| listener_volume | var | The name of the reaction volume to use. Only monsters inside of this volume will receive this reaction. |
Editor
| Property | Value |
|---|---|
| Type | point entity |
| Spawn class | idSpawnableEntity -> idEntity -> idClass |
| Min | -8 -8 0 |
| Max | 8 8 16 |
| Color | 0.7 0.15 0.15 |
Script events
| Event | Declared by |
|---|---|
| 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
