Raise: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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]] | ||
}} | }} |
Revision as of 02:05, 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.