JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   Resolved Issues (http://www.jazz2online.com/jcf/forumdisplay.php?f=50)
-   -   Bug Report player.morphTo(CHAR::FROG, false); still plays morph animation (http://www.jazz2online.com/jcf/showthread.php?t=20419)

Love & Thunder Aug 24, 2020 03:22 PM

player.morphTo(CHAR::FROG, false); still plays morph animation
 
If you, for instance, create the following script for a level:
Code:

void onPlayer(jjPLAYER@ player) {
        if (player.charCurr != CHAR::FROG) {
                player.morphTo(CHAR::FROG, false);
        }
}

Then, while the player does correctly morph into a frog, the morphing animation still plays, despite the boolean flag at the end, for morph effect, being false. The same is true when the flag is set to true.

Violet CLM Aug 31, 2020 02:15 PM

The current behavior is not technically incorrect, in that the flag only disables the effect that makes a bunch of glowing explosions appear around you when you morph, and that effect never happens when you morph into a frog anyway. But since there's no way to disable the extended frog morphing animation, I agree with you that the otherwise-unused flag should extend to that too.

Violet CLM Mar 22, 2021 01:41 PM

Fix will be available in 5.8.


All times are GMT -8. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online