func_arena Tuesday, September 22, 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 » DOOM 3 script events: weapons
ARTICLE

DOOM 3 script events: weapons

Name Description
getOwner
nextWeapon
weaponState
useAmmo eats the specified amount of ammo
addToClip
ammoInClip
ammoAvailable number of shots left in inventory
totalAmmoCount amount of ammo in inventory. since each shot may use more than 1 ammo, this is different than ammoAvailable()
clipSize
isInvisible
playAnim Plays the given animation on the given channel. Returns false if anim doesn't exist. NOTE: weapons only use ANIMCHANNEL_ALL
playCycle Continuously repeats the given animation on the given channel. Returns false if anim doesn't exist. NOTE: weapons only use ANIMCHANNEL_ALL
animDone Returns true if the animation playing on the given channel is completed considering a number of blend frames. NOTE: weapons only use ANIMCHANNEL_ALL
setBlendFrames Sets the number of frames to blend between animations on the given channel. NOTE: weapons only use ANIMCHANNEL_ALL
getBlendFrames Returns the number of frames to blend between animations on the given channel. NOTE: weapons only use ANIMCHANNEL_ALL
weaponReady
weaponOutOfAmmo
weaponReloading
weaponHolstered
weaponRising
weaponLowering
flashlight
launchProjectiles
createProjectile
melee
allowDrop
autoReload
netReload
netEndReload
setLightParm Sets a shader parameter on the muzzleflash/light
setLightParms Sets the red/green/blue/alpha shader parms on the muzzleflash/light
getWorldModel Returns the entity that controls the world model

Last changed Sep 21, 2026
<< back to the wiki  ·  History
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.