Built-in ACS functions
From ZDoom Wiki
These are all the functions that ACS has built-in. Note that these can only be used in scripts and not on linedefs or assigned to things. In those contexts, only Action Specials may be used, though action specials may also be used in scripts as if they were ACS functions.
When adding to or updating the definition of these functions, please update the Doom Builder ACS configuration as well. Thank you.
For Skulltag's additional built-in ACS functions see Skulltag features.
Contents |
Script control
Named scripts
- ACS_NamedExecute
- ACS_NamedSuspend
- ACS_NamedTerminate
- ACS_NamedLockedExecute
- ACS_NamedLockedExecuteDoor
- ACS_NamedExecuteWithResult
- ACS_NamedExecuteAlways
Waiting
Math
- cos
- FixedDiv
- FixedMul
- FixedSqrt (New from 2.7.0)
- Random
- sin
- Sqrt (New from 2.7.0)
- StrLen
- VectorAngle
- VectorLength (New from 2.7.0)
Information
- ActivatorTID
- CheckActorCeilingTexture
- CheckActorClass
- CheckActorFloorTexture
- CheckActorProperty
- CheckFont (New from 2.7.0)
- CheckPlayerCamera
- CheckSight
- ClassifyActor
- GameSkill
- GameType
- GetActorAngle
- GetActorCeilingZ
- GetActorClass (New from 2.7.0)
- GetActorFloorZ
- GetActorLightLevel
- GetActorPitch
- GetActorProperty
- GetActorVelX
- GetActorVelY
- GetActorVelZ
- GetActorViewHeight
- GetActorX
- GetActorY
- GetActorZ
- GetAirSupply
- GetAmmoCapacity
- GetArmorType
- GetChar
- GetCVar
- GetCVarString (New from 2.7.0)
- GetLevelInfo
- GetLineRowOffset
- GetPlayerInfo
- GetPlayerInput
- GetPolyobjX
- GetPolyobjY
- GetScreenHeight
- GetScreenWidth
- GetSectorCeilingZ
- GetSectorFloorZ
- GetSectorLightLevel
- GetUserArray
- GetUserCVar (New from 2.7.0)
- GetUserCVarString (New from 2.7.0)
- GetUserVariable
- GetWeapon (New from 2.7.0)
- IsTIDUsed (New from 2.7.0)
- LineSide
- PlayerClass
- PlayerCount
- PlayerFrags
- PlayerInGame
- PlayerIsBot
- PlayerNumber
- SetResultValue
- StrCmp (New from 2.7.0)
- StrIcmp (New from 2.7.0)
- ThingCount
- ThingCountName
- ThingCountNameSector
- ThingCountSector
- Timer
- UniqueTID (New from 2.7.0)
UDMF
- GetLineUDMFInt
- GetLineUDMFFixed
- GetSectorUDMFInt
- GetSectorUDMFFixed
- GetSideUDMFInt
- GetSideUDMFFixed
- GetThingUDMFInt
- GetThingUDMFFixed
Sounds
- ActivatorSound
- AmbientSound
- LocalAmbientSound
- LocalSetMusic
- PlayActorSound (New from 2.7.0)
- PlaySound (New from 2.7.0)
- SectorSound
- SetMusic
- SoundSequence
- SoundSequenceOnActor
- SoundSequenceOnSector
- SoundSequenceOnPolyobj
- SoundVolume (New from 2.7.0)
- StopSound (New from 2.7.0)
- ThingSound
Inventory
- CheckActorInventory
- CheckInventory
- CheckWeapon
- ClearActorInventory
- ClearInventory
- GiveActorInventory
- GiveInventory
- SetWeapon
- TakeActorInventory
- TakeInventory
- UseActorInventory
- UseInventory
Display
- HudMessage
- HudMessageBold
- Log
- PrintBold
- SetFont
- SetHudClipRect (New from 2.7.0)
- SetHudSize
- SetHudWrapWidth (New from 2.7.0)
- SetMugShotState
- StrLeft (New from 2.7.0)
- StrMid (New from 2.7.0)
- StrParam
- StrRight (New from 2.7.0)
- StrCpy
Level alteration
- ChangeCeiling
- ChangeFloor
- ChangeLevel
- ChangeSky
- ClearLineSpecial
- Radius_Quake2
- ReplaceTextures
- SectorDamage
- SetAirControl
- SetCameraToTexture
- SetCeilingTrigger
- SetCVar (New from 2.7.0)
- SetCVarString (New from 2.7.0)
- SetFloorTrigger
- SetGravity
- SetLineBlocking
- SetLineMonsterBlocking
- SetLineSpecial
- SetLineTexture
- SetSkyScrollSpeed
- SetUserCVar (New from 2.7.0)
- SetUserCVarString (New from 2.7.0)
Actor control
- CancelFade
- CreateTranslation
- FadeRange
- FadeTo
- LineAttack (New from 2.7.0)
- MorphActor
- SetActivator
- SetActivatorToTarget
- SetActorAngle
- SetActorPitch
- SetActorPosition
- SetActorProperty
- SetActorState
- SetActorVelocity
- SetAirSupply
- SetAmmoCapacity
- SetMarineSprite
- SetMarineWeapon
- SetPointer
- SetThingSpecial
- SetUserArray
- SetUserVariable
- Spawn
- SpawnDecal (New from 2.7.0)
- SpawnForced
- SpawnProjectile
- SpawnSpot
- SpawnSpotFacing
- SpawnSpotFacingForced
- SpawnSpotForced
- Thing_Damage2
- Thing_Projectile2
- UnMorphActor