2 Replies Latest reply on Nov 23, 2008 5:12 AM by twistedpancreas

    add number to global variable?

    twistedpancreas Level 1
      Hey there all,

      just a quickie.

      If I have

      _global.gCost = 0;

      on the main timeline

      and then later on i want to increase gCost by a number (say 5), how do I do that, cause

      _global.gCost +5;

      doesn't work.

      Thanks in advance.