FireShotgun: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
(Cleaned up; templatized)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Fires player shotgun attack. Seven tracers are fired using "never" accuracy (a moderate horizontal spread with no vertical error), each doing standard bullet damage of 5, 10 or 15. The player object will emit the "shotgn" sound effect and transfer to its second attack frame, with gun flash.
{{Codepointer |
 
description=Fires player shotgun attack. |
No arguments are used.
usage='''FireShotgun'''|
 
parameters=none|
==See also==
notes=Seven tracers are fired using "never" accuracy (a moderate horizontal spread with no vertical error), each doing standard bullet damage of 5, 10 or 15. The player object will emit the ''shotgn'' sound effect and transfer to its second attack frame, with gun flash.
*[[List of codepointers]]
|
examples=From ''base\frames.edf'':
<nowiki>frame S_SGUN2      { cmp = "SHTG|*|*|7|'''FireShotgun'''|@next";      dehackednum = 22 }</nowiki>|
seealso=*[[FireCustomBullets]]
*[[List_of_codepointers#Attacks|Player attack codepointers]]
}}


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

Latest revision as of 01:38, 6 May 2011

Description

Fires player shotgun attack.

Usage

FireShotgun

Parameters

none

Examples

From base\frames.edf:

frame S_SGUN2      { cmp = "SHTG|*|*|7|'''FireShotgun'''|@next";       dehackednum = 22 }

Notes

Seven tracers are fired using "never" accuracy (a moderate horizontal spread with no vertical error), each doing standard bullet damage of 5, 10 or 15. The player object will emit the shotgn sound effect and transfer to its second attack frame, with gun flash.

See also