Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Maintenance & Feedback » JJ2+ Issue Tracker

Bug Report player.morphTo(CHAR::FROG, false); still plays morph animation

Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,074

Love & Thunder has disabled reputation

Aug 24, 2020, 04:22 PM
Love & Thunder is offline
Reply With Quote
player.morphTo(CHAR::FROG, false); still plays morph animation

If you, for instance, create the following script for a level:
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 Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,786

Violet CLM has disabled reputation

Aug 31, 2020, 03:15 PM
Violet CLM is offline
Reply With Quote
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.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 05:46 AM.