Search found 2 matches

by Jipjang
Fri May 24, 2024 6:02 pm
Forum: Support and Development
Topic: Variable gets set to nil when it shouldn't
Replies: 3
Views: 448

Re: Variable gets set to nil when it shouldn't

marclurr wrote: Fri May 24, 2024 4:31 pm Read this line really carefully.

Code: Select all

koopa.mvspd = transformedfrom[2].mvpsd
Yeah I just noticed bruh
by Jipjang
Fri May 24, 2024 7:13 am
Forum: Support and Development
Topic: Variable gets set to nil when it shouldn't
Replies: 3
Views: 448

Variable gets set to nil when it shouldn't

I'm making a Mario like platformer level editor and I'm currently working on customizable enemies and objects. But when an enemy transforms it should have the same movespeed that it had before. But for some reason, it gets set to nil. local transformedfrom = obj.transformedfrom local koopa = OBJECTS...