WeaponJump: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{Codepointer|description=Random frame change (jump) for weapon frames (not actor frames). |usage='''A_WeaponJump'''(''frame'', ''chance'') |parameters= *''frame'': Frame to jump to if random chance passes *''chance'': chance out of 256 that it will switch to ''frame'' |notes=MBF21 introduced this as a weapon frame usable version of RandomJump, which only works on actor frames. Eternity already has Jump from ZDoom which is flexible with both actor and weapon fram...") |
(No difference)
|
Latest revision as of 14:54, 24 October 2024
Description
Random frame change (jump) for weapon frames (not actor frames).
Usage
A_WeaponJump(frame, chance)
Parameters
- frame: Frame to jump to if random chance passes
- chance: chance out of 256 that it will switch to frame
Examples
No examples given.
Notes
MBF21 introduced this as a weapon frame usable version of RandomJump, which only works on actor frames. Eternity already has Jump from ZDoom which is flexible with both actor and weapon frames.