Why am I returning neither True or False?

Started by Arukubarr on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:09, 2. Mar 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why am I returning neither True or False?

I keep returning a "ER BounceFunction 1" error in my BounceFunction code.

As soon as my entity spawns in it only returns this error.

I thought that as long as a LocalVar boolean exists it's default is true.

 

Here is my BounceFunction code: https://imgur.com/a/g93JeFa

 

Here is my CanBounce code: https://imgur.com/a/iPSwnhx

 

This has been driving me crazy can someone tell me what i'm doing wrong??

Last seen on 01:09, 2. Mar 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The only explanation I have…
Tue, 02/28/2023 - 03:57

The only explanation I have is sense the if statements rely on velocity, the code glitches out because it cant keep up with the constantly changing velocity variable.