WeaponJump
From Eternity Wiki
Jump to navigationJump to search
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.