Action functions: Difference between revisions
Jump to navigation
Jump to search
m (replacing git tags with new tags for GZDoom 2.4.0 release) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
The following are all the code pointers supported by ZDoom's [[DECORATE]] lump as of the latest source code. These are placed at the end of an individual frame definition within the actor's [[Actor states|state]] block. You may also use any [[Action Specials|action special]] in place of an action function. See also [[:Category:Action functions|the category]] for a more exhaustive listing. |
The following are all the code pointers supported by ZDoom's [[DECORATE]] lump as of the latest source code. These are placed at the end of an individual frame definition within the actor's [[Actor states|state]] block. You may also use any [[Action Specials|action special]] in place of an action function. See also [[:Category:Action functions|the category]] for a more exhaustive listing. |
||
{{new}}: functions may have a return type (e.g. ''return'' '''A_FunctionName'''). See [[Actor_states#Anonymous_functions|anonymous functions]] for details. |
|||
__TOC__ |
__TOC__ |
||
Revision as of 14:16, 20 March 2017
The following are all the code pointers supported by ZDoom's DECORATE lump as of the latest source code. These are placed at the end of an individual frame definition within the actor's state block. You may also use any action special in place of an action function. See also the category for a more exhaustive listing.
(New from 4.14.3): functions may have a return type (e.g. return A_FunctionName). See anonymous functions for details.
Monster AI
- A_AlertMonsters
- A_Burst
- A_CentaurDefend
- A_Chase
- A_ClearLastHeard
- A_ClearSoundTarget
- A_ClearTarget
- A_DamageChildren
- A_DamageMaster
- A_DamageSelf
- A_DamageSiblings
- A_DamageTarget
- A_DamageTracer
- A_Die
- A_ExtChase (deprecated)
- A_FaceMaster
- A_FaceTarget
- A_FaceTracer
- A_FastChase
- A_KillChildren
- A_KillMaster
- A_KillSiblings
- A_KillTarget
- A_KillTracer
- A_Look
- A_Look2
- A_LookEx
- A_RaiseChildren
- A_RaiseMaster
- A_RaiseSiblings
- A_RemoveChildren
- A_RemoveMaster
- A_RemoveSiblings
- A_RemoveTarget
- A_RemoveTracer
- A_Remove
- A_SentinelBob
- A_Teleport
- A_TurretLook
- A_VileChase
- A_Wander
Generic monster attacks
- A_BasicAttack
- A_BulletAttack
- A_ComboAttack (deprecated)
- A_CustomMissile (deprecated)
- A_CustomBulletAttack
- A_CustomRailgun
- A_CustomMeleeAttack
- A_CustomComboAttack
- A_Detonate
- A_Explode
- A_MeleeAttack (deprecated)
- A_MissileAttack (deprecated)
- A_MonsterRefire
- A_MonsterRail
- A_RadiusDamageSelf (New from 4.14.3)
- A_RadiusThrust
- A_SpawnProjectile (New from 4.14.3)
- A_ThrowGrenade
- A_WolfAttack
Freeze death functions
Sound functions
- A_PlaySound
- A_PlaySoundEx (deprecated)
- A_PlayWeaponSound
- A_ActiveSound
- A_LoopActiveSound
- A_FLoopActiveSound
- A_StopSound
- A_StopSoundEx (deprecated)
- A_Pain
- A_Scream
- A_XScream
- A_PlayerScream
- A_VileStart
- A_BrainPain
- A_BrainAwake
- A_BFGSound
Print actions
- A_Print
- A_PrintBold
- A_Log
- A_LogFloat (New from 4.14.3)
- A_LogInt
Special actions
- A_BossDeath
- A_KeenDie
- A_BrainDie
- A_GetHurt
- A_KlaxonBlare
- A_CheckTerrain
- A_SetBlend
- A_CheckPlayerDone
- A_PlayerSkinCheck
- A_SkullPop
- A_SprayDecal (New from 4.14.3)
- A_Quake
- A_QuakeEx
- A_CopySpriteFrame (New from 4.14.3)
- A_SetSpriteAngle (New from 4.14.3)
- A_SetSpriteRotation (New from 4.14.3)
Spawn functions
State jumps
- A_CheckBlock
- A_CheckCeiling
- A_CheckFloor
- A_CheckFlag
- A_CheckLOF
- A_CheckProximity
- A_CheckRange
- A_CheckSight
- A_CheckSightOrRange
- A_CheckSpecies
- A_Jump
- A_JumpIf
- A_JumpIfArmorType
- A_JumpIfCloser
- A_JumpIfHealthLower
- A_JumpIfHigherOrLower
- A_JumpIfInventory
- A_JumpIfInTargetInventory
- A_JumpIfInTargetLOS
- A_JumpIfMasterCloser
- A_JumpIfNoAmmo
- A_JumpIfTargetInLOS
- A_JumpIfTargetInsideMeleeRange
- A_JumpIfTargetOutsideMeleeRange
- A_JumpIfTracerCloser
Status changes
- A_ActiveAndUnblock
- A_ChangeFlag
- A_ChangeVelocity
- A_ClearShadow
- A_CopyFriendliness
- A_DeQueueCorpse
- A_FadeIn
- A_FadeOut
- A_FadeTo
- A_FaceMovementDirection
- A_Fall
- A_Gravity
- A_HideThing
- A_LowGravity
- A_Morph (New from 4.14.3)
- A_NoBlocking
- A_NoGravity
- A_QueueCorpse
- A_RearrangePointers
- A_ResetHealth
- A_Respawn
- A_ScaleVelocity
- A_ScreamAndUnblock
- A_SetAngle
- A_SetArg
- A_SetChaseThreshold (New from 4.14.3)
- A_SetDamageType
- A_SetFloat
- A_SetFloatSpeed
- A_SetFloatBobPhase
- A_SetFloorClip
- A_SetGravity
- A_SetHealth
- A_SetInvulnerable
- A_SetMass
- A_SetMugshotState (New from 4.14.3)
- A_SetPainThreshold
- A_SetPitch
- A_SetReflective
- A_SetReflectiveInvulnerable
- A_SetRenderStyle (New from 4.14.3)
- A_SetRipperLevel
- A_SetRipMin
- A_SetRipMax
- A_SetRoll
(GZDoom only: not supported by ZDoom)
- A_SetScale
- A_SetShadow
- A_SetShootable
- A_SetSize (New from 4.14.3)
- A_SetSolid
- A_SetSpecial
- A_SetSpecies
- A_SetSpeed
- A_SetTeleFog
- A_SetTics
- A_SetTranslucent (deprecated)
- A_SetUserArray
- A_SetUserArrayFloat (New from 4.14.3)
- A_SetUserVar
- A_SetUserVarFloat (New from 4.14.3)
- A_SetTranslation (New from 4.14.3)
- A_SetVisibleRotation (New from 4.14.3)
- A_SwapTeleFog
- A_TransferPointer
- A_UnHideThing
- A_UnsetFloat
- A_UnSetFloorClip
- A_UnSetInvulnerable
- A_UnSetReflective
- A_UnSetReflectiveInvulnerable
- A_UnSetShootable
- A_UnsetSolid
Missile movement
- A_SeekerMissile
- A_Tracer
- A_Tracer2
- A_FaceTracer
- A_Fire
- A_BishopMissileWeave
- A_CStaffMissileSlither
- A_Weave
- A_Warp
- A_Countdown
- A_CountdownArg
- A_Stop
Inventory functions
- A_DropInventory
- A_DropItem
- A_GiveInventory
- A_GiveToChildren
- A_GiveToSiblings
- A_GiveToTarget
- A_TakeInventory
- A_TakeFromChildren
- A_TakeFromSiblings
- A_TakeFromTarget
- A_SelectWeapon
- A_SetInventory (New from 4.14.3)
- A_RadiusGive
Weapon functions
- A_WeaponReady
- A_WeaponOffset (New from 4.14.3)
- A_Lower
- A_Raise
- A_ReFire
- A_ClearReFire
- A_GunFlash
- A_CheckReload
- A_CheckForReload
- A_CheckRailReload
(Skulltag only: not supported by ZDoom) (deprecated) - A_ResetReloadCounter
- A_Light
- A_Light0
- A_Light1
- A_Light2
- A_LightInverse
- A_ClearOverlays (New from 4.14.3)
- A_Overlay (New from 4.14.3)
- A_OverlayFlags (New from 4.14.3)
- A_OverlayOffset (New from 4.14.3)
- A_Recoil
- A_ZoomFactor
- A_SetCrosshair
Weapon attack functions
- A_CustomPunch
- A_FireBullets
- A_FireCustomMissile (deprecated)
- A_FireProjectile (New from 4.14.3)
- A_FireAssaultGun
- A_FireBFG
- A_FireOldBFG
- A_FireShotgun
- A_FireShotgun2
- A_FireCGun
- A_FireMissile
- A_FirePlasma
- A_FireSTGrenade (deprecated)
- A_Punch
- A_RailAttack
- A_Saw
Script functions
- ACS_NamedExecute
- ACS_NamedSuspend
- ACS_NamedTerminate
- ACS_NamedLockedExecute
- ACS_NamedLockedExecuteDoor
- ACS_NamedExecuteWithResult
- ACS_NamedExecuteAlways
Original Doom/Strife monster attacks
- A_PosAttack
- A_SPosAttack
- A_CPosAttack
- A_CPosRefire
- A_SpidRefire
- A_TroopAttack
- A_SargAttack
- A_HeadAttack
- A_BruisAttack
- A_SkullAttack
- A_BspiAttack
- A_CyberAttack
- A_PainAttack
- A_DualPainAttack
- A_PainDie
- A_SkelFist
- A_SkelMissile
- A_FatAttack1
- A_FatAttack2
- A_FatAttack3
- A_VileTarget
- A_VileAttack
- A_BrainSpit
- A_SpawnFly
- A_SpawnSound
- A_BrainScream
- A_BrainExplode
- A_Mushroom
- A_M_Saw
- A_SentinelRefire
- A_BetaSkullAttack
Miscellaneous functions for Doom
- A_Hoof
- A_Metal
- A_BabyMetal
- A_FatRaise
- A_SkelWhoosh
- A_StartFire
- A_FireCrackle
- A_BFGSpray
- A_BarrelDestroy
See also
- DECORATE expressions - expressions that can be used as arguments to code pointers