GunFlashTo

From Eternity Wiki
Revision as of 14:08, 24 October 2024 by Printz (talk | contribs) (Created page with "{{codepointer|description=Generic weapon muzzle flash. |usage='''A_GunFlashTo'''(''frame'', ''no_actor_flash'') |parameters= *''frame'': weapon frame to set the flash weapon sprite to *''no_actor_splash'': if nonzero, it will ''not'' change player avatar's frame to its class '''altattack''' (which in DOOM shows as the marine firing the weapon) |notes=This changes the gunflash weapon sprite, not the main one, making it visible if currently off. This is a more powerful ver...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

Generic weapon muzzle flash.

Usage

A_GunFlashTo(frame, no_actor_flash)

Parameters

  • frame: weapon frame to set the flash weapon sprite to
  • no_actor_splash: if nonzero, it will not change player avatar's frame to its class altattack (which in DOOM shows as the marine firing the weapon)

Examples

No examples given.

Notes

This changes the gunflash weapon sprite, not the main one, making it visible if currently off. This is a more powerful version of GunFlash.

See also