Yeah I just noticed bruhmarclurr wrote: ↑Fri May 24, 2024 4:31 pm Read this line really carefully.
Code: Select all
koopa.mvspd = transformedfrom[2].mvpsd
Search found 2 matches
- Fri May 24, 2024 6:02 pm
- Forum: Support and Development
- Topic: Variable gets set to nil when it shouldn't
- Replies: 3
- Views: 1763
Re: Variable gets set to nil when it shouldn't
- Fri May 24, 2024 7:13 am
- Forum: Support and Development
- Topic: Variable gets set to nil when it shouldn't
- Replies: 3
- Views: 1763
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...