FireShotgun

From Eternity Wiki
Jump to navigationJump to search

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