Lower: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Codepointer | | {{Codepointer | | ||
description='''Lower''' is a player weapon codepointer. This codepointer lowers the player's weapon to the bottom of the screen, and if the player is not dead, will change to a new weapon. | | description='''Lower''' is a player weapon codepointer. This codepointer lowers the player's weapon to the bottom of the screen, and if the player is not dead, will change to a new weapon. | | ||
usage='''Lower'''| | usage='''Lower'''[(''speed'')]| | ||
parameters= | parameters= | ||
*''speed'': optional parameter to set the speed by which the weapon lowers to the bottom. Default value is 6. It can have decimal point.| | |||
examples={{example|description=From base\frames.edf:|code=<nowiki>frame S_CHAINDOWN { cmp = "CHGG|*|*|*|Lower |@this"; dehackednum = 50 }</nowiki>}}| | examples={{example|description=From base\frames.edf:|code=<nowiki>frame S_CHAINDOWN { cmp = "CHGG|*|*|*|Lower |@this"; dehackednum = 50 }</nowiki>}}| | ||
notes=This pointer should be called from any weapon's lowering state.| | notes=This pointer should be called from any weapon's lowering state.| | ||
seealso=*[[Raise]] | seealso=*[[Raise]] | ||
}} | }} |
Latest revision as of 02:08, 12 September 2024
Description
Lower is a player weapon codepointer. This codepointer lowers the player's weapon to the bottom of the screen, and if the player is not dead, will change to a new weapon.
Usage
Lower[(speed)]
Parameters
- speed: optional parameter to set the speed by which the weapon lowers to the bottom. Default value is 6. It can have decimal point.
Examples
From base\frames.edf:
frame S_CHAINDOWN { cmp = "CHGG|*|*|*|Lower |@this"; dehackednum = 50 }
Notes
This pointer should be called from any weapon's lowering state.