User Tag List

Results 1 to 3 of 3

Thread: 3 seconds after an event

  1. #1
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    3 seconds after an event

    Hi!

    In a frame I need my character to collide with an object. In that very moment I need him to stop (ignoring player's control) and after 3 seconds I want another object to be shown on the frame.

    How can I ask the game to act only 3 second AFTER that event?

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,544
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 seconds after an event

    Well you could code a timer that counts down starting at when that event occurs:

    +Character Collides With Objects
    +Value A of Timer_AO <= 0
    =Set Value A of Timer_AO to 150 (seconds * framerate, if framerate is 50, this is 3*50 = 150)
    =Disable Movement for Player

    +Value A of Timer_AO > 0
    =Sub 1 from Value A of Timer_AO

    +Value A of Timer_AO = 1
    = *MAKE THINGY VISIBLE*





    However I think theres an extension for exactly this, I've never used it but I assume this is exactly what you want and would make the coding much simpler!:
    http://www.fusionwiki.com/wiki/Function_Eggtimer

  3. #3
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: 3 seconds after an event

    Thanks a lot! Function Eggtimer was exactly what I was looking for!

Similar Threads

  1. Mili seconds = seconds ?
    By Johnny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th November 2009, 07:30 PM
  2. Every X Seconds?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd July 2009, 04:51 PM
  3. Seconds to HMS
    By LIJI in forum Released Extensions
    Replies: 0
    Last Post: 5th May 2007, 07:52 AM
  4. Seconds to Days, Hours, Minutes and seconds
    By dingdong in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 1st April 2007, 07:30 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
  •