User Tag List

Results 1 to 2 of 2

Thread: Problem counting down variable

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem counting down variable

    In a section of the game I am working on I need a piece of equipment to decay in quality as the game progresses. I have a global action that every 10 seconds the (quality ) decreases by a random number between 1-10:
    every 10 seconds subtract (9)+1 from quality.
    The equation works, but only when I am in the frame where the
    piece of equipment is. If I leave the frame, the countdown stops. How do I get this option to work when I am in other parts of the game?


  2. #2
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem counting down variable

    Checking "Global Object" in the object's properties>runtime options, might have something to with this. Otherwise, you might have to create the object in every frame or use an array to check if the item was collected. You can't subtract from the quality of the object if it does not exist!

Similar Threads

  1. Variable height drop shadow problem
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 27th September 2012, 03:33 PM
  2. Problem with a global variable
    By DisneyBoy in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 27th February 2011, 12:02 AM
  3. Problem setting a Global Variable to use decimals
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th February 2011, 06:29 PM
  4. Word Counting Problem
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd September 2009, 06:00 PM
  5. Named Variable object problem
    By gamer4fun in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 10th June 2007, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •