func_arena Monday, September 21, 2026
Building, modding and fragging like it's 1998

142778 visitors
YOUR #1 SOURCE FOR RETRO FPS DEVELOPMENT Y2K READY
  *** func_arena goes live, let the carnage begin!   ***   ET: Legacy 2.86.0 is out!   ***   Engine of the Week: qrustyquake by cyanbun96   ***   Server admins: read our migration guide before Friday   ***   Ironwail 0.8.2 is out!   ***  
NAVIGATION
Wiki » Reference » ai_ entities » ai_attackcone_turret
ARTICLE

ai_attackcone_turret

This is an entity on id Tech 4 engines, present on DOOM 3 and Prey. Below you can find its spawnflags, keys and editor settings for each game that defines it.

DOOM 3

Attack cone where monster stands in place and uses normal range attack (if it has one).

Keys

Key Type Default Description
fov var 90 Angle width of the cone
min var 0 Minimum distance player can be from node
max var 512 Maximum distance player can be from node
offset var 0 Vector amount to offset cone from origin of entity
height var 256 Specifies the Z height of the cone centered around the origin of the entity. This means it goes down half the height and up half the height.
num_shots var 1 Max number of shots to fire per attack
min_wait var 0.3 Minimum amount of time to wait between attacks
max_wait var 1 Maximum amount of time to wait between attacks
start_off var Disables entity until triggered.
use_once var 0 When set, node is disabled after it's used.

Editor

Property Value
Type point entity
Spawn class idCombatNode -> idEntity -> idClass
Min -24 -24 0
Max 24 24 82
Color .5 .3 0

Script events

Event Declared by
markUsed idCombatNode
activate idCombatNode
getName idEntity
setName idEntity
activateTargets idEntity
numTargets idEntity
getTarget idEntity
randomTarget idEntity
bindToJoint idEntity
removeBinds idEntity
bind idEntity
bindPosition idEntity
unbind idEntity
setOwner idEntity
setModel idEntity
setSkin 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
distanceTo idEntity
distanceToPoint idEntity
startFx idEntity
waitFrame idEntity
wait idEntity
hasFunction idEntity
callFunction idEntity
setNeverDormant idEntity
setGui idEntity
precacheGui idEntity
getGuiParm idEntity
getGuiParmFloat idEntity
guiNamedEvent idEntity
remove idClass

Prey

Attack cone where monster stands in place and uses normal range attack (if it has one).

Keys

Key Type Default Description
fov var 90 Angle width of the cone
min var 0 Minimum distance player can be from node
max var 512 Maximum distance player can be from node
offset var 0 Vector amount to offset cone from origin of entity
height var 256 Specifies the Z height of the cone centered around the origin of the entity. This means it goes down half the height and up half the height.
num_shots var 1 Max number of shots to fire per attack
min_wait var 0.3 Minimum amount of time to wait between attacks
max_wait var 1 Maximum amount of time to wait between attacks
start_off var Disables entity until triggered.
use_once var 0 When set, node is disabled after it's used.

Editor

Property Value
Type point entity
Spawn class idCombatNode -> idEntity -> idClass
Min -8 -8 -8
Max 8 8 8
Color .5 .3 0

Script events

Event Declared by
markUsed idCombatNode
activate idCombatNode
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
<< back to the wiki  ·  History
RELATED GAMES
DOOM 3
Prey
HOT FILES
No files yet.
all files >>
LATEST BLOGS
No blog posts yet.
all blogs >>
MEDIA FROM THE BLOGS
No blog post has a picture yet.
all blogs >>
LATEST DEVLOGS
No devlog entries yet.
all blogs >>
CHAT
IRC:
#func_arena @ irc.libera.chat

Discord:
Map-Center

41 fraggers right now. Be nice to others.
Powered by Debian Linux Now! Get Mozilla Now! Stop Microsoft! Dopefish Now! 1-Bit Icons by Nikoichu
home  ·  contact  ·  privacy policy  ·  forums  ·  submit content  ·  rss
func_arena is a member of the func_network. We are not responsible for user content, your ping, or your kill-to-death ratio.
Powered by fragnuke 0.7.2. Best viewed at 1024x768 in Mozilla. No frames, no Flash, no bs.