Contraption Maker

Contraption Maker

Onvoldoende beoordelingen
CMPart.GetType()_bug
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Level Type: Mod
Bestandsgrootte
Geplaatst op
1.540 KB
29 sep 2014 om 20:12
1 wijzigingsnotitie (weergeven)

Abonneren om te downloaden
CMPart.GetType()_bug

Omschrijving
5 opmerkingen
wildgoosespeeder 17 aug 2017 om 15:13 
Is this a thing anymore or has this issue been resolved and this workshop entry can be deleted?
frutiemax  [auteur] 3 okt 2014 om 11:21 
That error is so bad I should have known...

Thanks for the answer keithj2.
keithj2 2 okt 2014 om 12:11 
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  [auteur] 30 sep 2014 om 8:49 
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.
ショタ男の娘 29 sep 2014 om 21:55 
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.