User Tag List

Results 1 to 4 of 4

Thread: Scoping timer events? How to do?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2017
    Posts
    300
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Scoping timer events? How to do?

    Hello, i try to destroy an instance on an object via timer event, but the scoping is not working like i want it. Each objects should be destroy seperate, 2sec after it hits the ground. Sometimes more than one object is destroyed at the same time or destroyed instantly when it hits the ground?

    Is this another scoping bug or is my code wrong??
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2017
    Posts
    300
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    In this mfa i even put the timer event inside the for each event line, and still no scope
    Attached files Attached files

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    12,836
    Mentioned
    82 Post(s)
    Tagged
    2 Thread(s)
    "Fire event" doesn't keep the object selection, in On Event all objects will be selected by default.

    Better store the destroying time in a value of the object (when the object collides), and then destroy the object when the timer reaches this value.
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Feb 2017
    Posts
    300
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Wow, thanks Bro, thats exactly what i need

    I would never found that formula out myself lol

Similar Threads

  1. Replies: 5
    Last Post: 26th July 2017, 03:21 AM
  2. Timer Events are Broken
    By Ninjadoodle in forum Flash Export Module 2.5
    Replies: 3
    Last Post: 15th April 2014, 07:09 AM
  3. [bug b28] Timer events not working?
    By StingRay in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th May 2012, 03:44 PM
  4. Problem with timer: sometimes events skipped
    By Leander in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 11th September 2008, 09:09 AM
  5. Timer events: pros & cons?
    By teddyq in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th June 2008, 08:37 AM

Posting Permissions

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