A_LineEffect

From ZDoom Wiki
Jump to navigation Jump to search
Nuvolabomb.png Warning: The feature described on this page has been deprecated, and will no longer be supported or updated by the GZDoom developers. While some functionality may be retained for the purposes of backwards-compatibility, authors are strongly discouraged from utilizing this feature in future projects and to instead use direct calls to action specials. Compatibility with future GZDoom versions is not guaranteed.

A_LineEffect (int boomspecial, int tag)

  • boomspecial: the Boom special to use.
  • tag: the tag of the sector(s) to affect.

Performs a special action of type boomspecial on sector tagged tag. This does not use the numbers indicated on action specials but a Boom linetype, which is then translated using the same logic as the one used when loading a Doom-format map.

If the special action is successfully performed and is of a non-repeating type, the calling actors receives the LINEDONE flag. This codepointer aborts without doing anything if the calling actor has this flag set.