Editing CheckReload

From Eternity Wiki
Jump to navigationJump to search
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 |
'''CheckReload''' is a player weapon codepionter. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon (by default, only the DOOM II Super Shotgun uses this codepointer).
description='''CheckReload''' is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon.  |
usage='''CheckReload'''|
parameters=None.|
examples={{example|description=From base\frames.edf:|code=<nowiki>frame S_DSGUN4      { cmp = "SHT2|2|*|7|CheckReload  |@next";  dehackednum = 38 }</nowiki>}}|
notes=By default, only the DOOM II Super Shotgun uses this codepointer.


====Special Notes====
This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.
This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.
|
seealso=*[[CheckReloadEx]]
}}


[[Category:Codepointers]]
[[Category:Codepointers]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: