GunFlash

From Eternity Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

GunFlash is a player weapon codepointer. This codepointer sets the player to his second attack state, starts the display of the weapon's flash state, and causes weapon kickback to occur if it is enabled.

Usage

GunFlash

Parameters

No parameters.

Examples

From base\frames.edf:

frame S_BFG2      { cmp = "BFGG|1|*|10|GunFlash   |@next";       dehackednum = 85 }

Notes

This codepointer is new to BOOM, and was added to allow kickback to be synchronized with a weapon's muzzle flash instead of with the press of the trigger. Weapons such as the BFG require this behavior. Note that kickback will eventually be made a property of weapons via EDF.

See also