• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

[SOLVED] Whats wrong with this?

Hello, simply I have a problem that I don't know why it happens.

//Step Event of objOzan
if (TotalPressedPixels = 2160)
{
TotalPixels += TotalPixPerSec*1200
TotalPressedPixels = 0;
}

The error message says;
########################################################################################
FATAL ERROR in
action number 5
of Step Event0
for object objOzan:

DoMul :: Execution Error
at gml_Object_objOzan_StepNormalEvent_5 (line 5) - TotalPixels += TotalPixPerSec*1200
########################################################################################
 

Hyomoto

Member
It's hard to say from just this, but it looks like TotalPixPerSec isn't a number, or TotalPixels isn't a number.
 
Top