GunFlash: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Initial commit.)
 
No edit summary
Line 1: Line 1:
'''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. 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]].
'''GunFlash''' (void)
 
==Usage==
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. 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]].


[[Category:Codepointers]]
[[Category:Codepointers]]

Revision as of 22:07, 21 April 2009

GunFlash (void)

Usage

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. 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.