View Single Post
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Aug 24, 2020, 03:22 PM
Love & Thunder is offline
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.
__________________