Jump

From Eternity Wiki
Revision as of 19:47, 3 March 2012 by Printz (talk | contribs) (Created page with "Jump works in the same manner as RandomJump, executing an instant switch to another frame if a randomness test passes. The usage is as follows: Jump(chance, state) 'chance' is ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Jump works in the same manner as RandomJump, executing an instant switch to another frame if a randomness test passes. The usage is as follows:

Jump(chance, state)

'chance' is the probability out of 255 that the current frame will be set to 'state'

This state was added in Eternity because RandomJump uses the misc1 and misc2 fields, incompatible with DECORATE. In addition, the Jump term is also used in ZDoom's original DECORATE implementation, making the porting of ZDoom DECORATE actors into Eternity quicker.