Script events (Quake 4)
- Entity Events
- System Events
- Camera Events
- Light Events
- Forcefield Events
- Animate Events
- Mover Events
- Door Events
- Four Fingered Claw Events
- Moveable Events
- Moveable Spline Events
- Vehicle Tramcar Events
- Skeletal Animation Events
- Actor Events
- Player Events
- AI Events
- Effect Events
- Vehicle Events
- Vehicle Driver Events
- Spawner Events
- Makron Events
- Network Guardian Events
- Boss Battle Events
- Utility Functions
The information on this page is specific to Quake 4 .
Script events are the commands used in Quake 4’s native scripting language.
Existing script events as of version 1.0.0.0 Build 2147 (Original release).
Entity Events
- activate
- activateTargets
- appendTarget
- applyImpulse
- bind
- bindPosition
- bindToJoint
- cacheSoundShader
- callFunction
- clearSignal
- clearTargetList
- distanceTo
- distanceToPoint
- fadeSound
- getAngles
- getAngularVelocity
- getBindMaster
- getColor
- getHealth
- getEntityKey
- getFloatKey
- getIntKey
- getKey
- getVectorKey
- getLinearVelocity
- getMaxs
- getMins
- getName
- getNextKey
- getOrigin
- getShaderParm
- getSize
- getTarget
- getWorldOrigin
- guiEvent
- hasFunction
- hide
- hideSurface
- isA
- isHidden
- isSameTypeAs
- matchPrefix
- numTargets
- playEffect
- randomTarget
- remove
- removeBinds
- removeNullTargets
- removeTarget
- restorePosition
- setAngles
- setAngularVelocity
- setColor
- setContents
- setGui
- setGuiParm
- setKey
- setLinearVelocity
- setModel
- setName
- setNeverDormant
- setOrigin
- setOwner
- setShaderParm
- setShaderParms
- setSize
- setSkin
- setSpawnVector
- setWorldOrigin
- show
- showSurface
- startFx
- startSound
- startSoundShader
- stopEffect
- stopSound
- touches
- unbind
- waitFrame
System Events
- angToForward
- angToRight
- angToUp
- assert
- awardAchievement
- ceil
- clampFloat
- clearPersistantArgs
- clearSignalThread
- copySpawnArgs
- cos
- CrossProduct
- debugArrow
- debugBounds
- debugCircle
- debugLine
- DotProduct
- drawText
- error
- fadeIn
- fadeOut
- fadeTo
- firstPerson
- floor
- getcvar
- getEntity
- getFrameTime
- getPersistantFloat
- getPersistantString
- getPersistantVector
- getTicsPerSecond
- getTime
- getTraceBody
- getTraceEndPos
- getTraceEntity
- getTraceFraction
- getTraceJoint
- getTraceNormal
- influenceActive
- intVal
- isClient
- isMultiplayer
- killthread
- maxFloat
- minFloat
- music
- onSignal
- pause
- playWorldEffect
- println
- radiusDamage
- random
- randomInt
- refProxy
- releaseProxy
- respawn
- say
- sendNamedEvent
- setCamera
- setcvar
- setMatSort
- setPersistantArg
- setSpawnArg
- setSpecialEffect
- setSpecialEffectParm
- sin
- spawn
- SpawnFloat
- SpawnString
- SpawnVector
- sqrt
- strFind
- strLeft
- strLength
- strMid
- strRight
- strSkip
- strToFloat
- terminate
- threadname
- trace
- tracePoint
- trigger
- vecLength
- vecNormalize
- VecToAngles
- wait
- waitFor
- waitForThread
- waitFrame
- warning
Camera Events
Light Events
- break
- fadeInLight
- fadeOutLight
- getLightParm
- isOn
- Off
- On
- setCurrentLightLevel
- setLightParm
- setLightParms
- setRadius
- setRadiusXYZ
- setShader
Forcefield Events
Animate Events
Mover Events
- stopMoving
- stopRotating
- speed
- time
- decelTime
- accelTime
- moveTo
- moveToPos
- move
- accelTo
- decelTo
- rotateDownTo
- rotateUpTo
- rotateTo
- rotate
- rotateOnce
- bob
- sway
- openPortal
- closePortal
- accelSound
- decelSound
- moveSound
- enableSplineAngles
- disableSplineAngles
- removeInitialSplineAngles
- startSpline
- stopSpline
- gotoFloor
- getSpline
- updateFloorInfo
Door Events
Four Fingered Claw Events
Moveable Events
Moveable Spline Events
- setSpline
- setAccel
- setDecel
- setSpeed
- getSpeed
- setIdealSpeed
- getIdealSpeed
- applySpeedScale
- getCurrentTrackInfo
- getTrackInfo
- useMountedGun
- setPlayerDamageEnt
Vehicle Tramcar Events
Skeletal Animation Events
- getJointHandle
- clearAnims
- clearAllJoints
- clearJoint
- setJointPos
- setJointAngle
- getJointPos
- getJointAngle
- setJointAngularVelocity
- collapseJoints
Actor Events
- flashlight
- SetConstraintPosition
- enableEyeFocus
- disableEyeFocus
- enableBlinking
- disableBlinking
- leftFoot
- rightFoot
- stopAnim
- playAnim
- playCycle
- idleAnim
- setSyncedAnimWeight
- setBlendFrames
- getBlendFrames
- animDone
- overrideAnim
- preventPain
- enableAnim
- disablePain
- enablePain
- setAnimPrefix
- hasEnemies
- nextEnemy
- closestEnemyToPoint
- getHead
- enterVehicle
- exitVehicle
- setAnimRate
- findEnemy
- jointCrawlEffect
Player Events
- getButtons
- getMove
- getViewAngles
- setViewAngles
- enableWeapon
- disableWeapon
- getCurrentWeapon
- getPreviousWeapon
- selectWeapon
- getWeapon
- getViewPos
- getAmmoData
- refillAmmo
- enableObjectives
- disableObjectives
- setExtraProjPass
- setArmor
- damageEffect
AI Events
- enableTarget
- disableTarget
- directDamage
- canBecomeSolid
- becomeSolid
- becomeNonSolid
- becomePassive
- becomeAggressive
- becomeRagdoll
- setHealth
- takeDamage
- setUndying
- face
- kill
- removeUpdateSpawner
- setPassivePrefix
- setTalkState
- setMoveSpeed
- forcePosture
- stopThinking
- setLeader
- getLeader
- setEnemy
- getEnemy
- lookAt
- setScript
- speak
- speakRandom
- isSpeaking
- isTethered
- isWithinTether
- enableClip
- disableClip
- enableGravity
- disableGravity
- enableAFPush
- disableAFPush
- enableDamage
- disableDamage
- enableHeal
- disableHeal
- takePatient
- scriptedMove
- scriptedFace
- scriptedAnim
- scriptedPlaybackMove
- scriptedPlaybackAim
- scriptedAction
- scriptedJumpDown
- scriptedStop
- scriptedDone