Raise: 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:
'''Raise''' (void)
{{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. |
==Usage==
usage='''Raise'''[(''speed'')]|
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.
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.|
[[Category:Codepointers]]
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