magnitude function

i am basically altering the youtube video( Drawing Lines in iOS Games made with GameSalad)
to only SPAWN a line when its MAGNITUDE is Greater than 50.

My rule is

When all conditions are valid

When ATTRIBUTE (game.mag) >= 50

Now SPAWN Actor.

I used an actor with some Display Text behavior to echo out game.mag
Which it does. wonderfully.

However, game.mag is a REAL attribute.

Would this REAL attribute affect the above conditional ?

BTW the original program works correctly, When you click and drag the mouse a LINE is drawn.

My altered program still draws the line, no matter the length.

So what am I doing wrong ?

thanks
Sign In or Register to comment.