Lower: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Lower''' (void)
{{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. |
==Usage==
usage='''Lower'''[(''speed'')]|
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.
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.|
[[Category:Codepointers]]
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