Contraption Maker

Contraption Maker

Not enough ratings
CMPart.GetType()_bug
   
Award
Favorite
Favorited
Unfavorite
Level Type: Mod
File Size
Posted
1.540 KB
Sep 29, 2014 @ 8:12pm
1 Change Note ( view )

Subscribe to download
CMPart.GetType()_bug

Description
5 Comments
wildgoosespeeder Aug 17, 2017 @ 3:13pm 
Is this a thing anymore or has this issue been resolved and this workshop entry can be deleted?
frutiemax  [author] Oct 3, 2014 @ 11:21am 
That error is so bad I should have known...

Thanks for the answer keithj2.
keithj2 Oct 2, 2014 @ 12:11pm 
I took a look. The problem is the semi-colons as Mushy said.

What you have right now is something like:

if (x);
setBallVelocity

In that case - the "dothis" is *always* executed.

You need to say

if (x)
{
setBallVelocity
}
frutiemax  [author] Sep 30, 2014 @ 8:49am 
Even if I remove the semi-colons, it SHOULD not behave like this. Have you tried the contraption? Controls are Up, Down, W and S. Billiard ball should not reverse direction when a wood plank touches bottom wall.
ショタ男の娘 Sep 29, 2014 @ 9:55pm 
Your if statements have semi-colons at the end, so they're not really doing anything. Try removing those. Also, you don't need to make all of the variables at the beginning for all of the parts.