Raise: 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='''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. | | 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'')| | usage='''Raise'''[(''speed'')]| | ||
parameters= | parameters= | ||
*''speed'': optional parameter to set the speed by which the weapon rises from the bottom. Default value is 6.| | *''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>}}| | 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.| | notes=This is done whenever the player initially switches to the weapon by entering its raise state.| | ||
seealso=*[[Lower]] | 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.