Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| {{Codepointer |
| | 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 (rnd%3 + 1) * 5. The player object will transfer to its second attack frame when this pointer is used. The player will emit the "shotgn" sound effect. |
| description=Fires player shotgun attack. |
| |
| usage='''FireShotgun'''|
| |
| parameters=none|
| |
| 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.
| |
| |
| |
| 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]]
| |