GunFlashTo: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(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...")
 
(No difference)

Latest revision as of 15:08, 24 October 2024

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