Raise: 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:
'''Raise''' is a player weapon codepointer. This codepointer raises the player's current weapon to its normal position, starting from the bottom of the screen. This is done whenever the player initially switches to the weapon by entering its raise state.
{{Codepointer |
 
description='''Raise''' is a player weapon codepointer. This codepointer raises the player's current weapon to its normal position, starting from the bottom of the screen. |
[[Category:Codepointers]]
usage='''Raise'''[(''speed'')]|
parameters=
*''speed'': optional parameter to set the speed by which the weapon rises from the bottom. Default value is 6. It can have decimal point.|
examples={{example|description=From base\frames.edf:|code=<nowiki>frame S_CHAINUP    { cmp = "CHGG|*|*|*|Raise      |@this";      dehackednum = 51 }</nowiki>}}|
notes=This is done whenever the player initially switches to the weapon by entering its raise state.|
seealso=*[[Lower]]
}}

Latest revision as of 02:06, 12 September 2024

Description

Raise is a player weapon codepointer. This codepointer raises the player's current weapon to its normal position, starting from the bottom of the screen.

Usage

Raise[(speed)]

Parameters

  • speed: optional parameter to set the speed by which the weapon rises from the bottom. Default value is 6. It can have decimal point.

Examples

From base\frames.edf:

frame S_CHAINUP     { cmp = "CHGG|*|*|*|Raise      |@this";       dehackednum = 51 }

Notes

This is done whenever the player initially switches to the weapon by entering its raise state.

See also