User Tag List

Results 1 to 4 of 4

Thread: Active keeps looking at wrong parent.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    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
    Jul 2006
    Location
    Stoke On Trent, UK
    Posts
    139
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Active keeps looking at wrong parent.

    Okay so let me explain.

    So say I have an "Enemy" active with a "Gun" active.
    The "Gun" is always positioned to him via a HotSpot (but doesn't always overlap).
    The "Gun" is set to always face whatever the direction "Enemy" is facing".

    This works great when I only have one enemy, and one gun. But as soon as I have more than one enemy the guns don't know who they are meant to be looking in the direction of.

    How can I make the enemy the "parent" of the gun?

    Any help would be greatly appreciated, I've been rattling my brains for hours.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    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)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    652
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Could you upload an example of this scenario with multiple enemies? - makes it easier to identify which method is a suitable solution for your setup.

  3. #3
    Clicker Fusion 2.5Fusion 2.5 Mac
    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)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    781
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    You have to give the guns and enemies an id and match that. The easiest way is to use an alt value and call it ID.

    Start of frame
    ->Spread value in alt value ID in enemy
    ->Spread value in alt value ID in gun

    If alt value ID Gun = alt value id Enemy
    ->Set Gun position to 0,0 Enemy.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    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)
    Wodjanoi's Avatar
    Join Date
    Jun 2015
    Location
    Germany
    Posts
    652
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    +1 for the easiest solution by @zip2kx - if you were talking about objects of the same instance.

Similar Threads

  1. Active Picture on Android has the starting texture offset wrong.
    By AlanRuno in forum Android Export Module 2.5
    Replies: 3
    Last Post: 29th January 2017, 11:25 PM
  2. Active Picture BUG? Sometimes wrong png and gif display...
    By tom79 in forum iOS Export Module 2.5
    Replies: 1
    Last Post: 21st December 2014, 12:37 AM
  3. Replies: 2
    Last Post: 19th March 2013, 08:51 AM
  4. Is there something wrong with the Active Background Object?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th February 2012, 03:28 PM
  5. Parent and Child active objects?
    By Koric in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd December 2009, 01:50 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
  •