Lower: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Initial commit.)
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''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. This pointer should be called from any weapon's lowering state.
{{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. |
[[Category:Codepointers]]
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={{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.|
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.

See also