Action functions: Difference between revisions

From ZDoom Wiki
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.


As of {{new}}, functions may have a return type (e.g. ''return'' '''A_FunctionName'''). See [[Actor_states#Anonymous_functions|anonymous functions]] for details.
{{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

Generic monster attacks

Freeze death functions

Sound functions

Print actions

Special actions

Spawn functions

State jumps

Status changes

Missile movement

Inventory functions

Weapon functions

Weapon attack functions

Script functions

Original Doom/Strife monster attacks

Miscellaneous functions for Doom

See also