User Tag List

Results 1 to 6 of 6

Thread: One of my enemies' action applies to all?

  1. #1
    No Products Registered

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

    One of my enemies' action applies to all?



    "XRi" is a value that indicates the farthest right my enemy can move. This particular instance it simply moves right and left and changes direction if its X is greater/lower than values XRi/XLe. For some reason, when one enemy does this, all enemies do. I've made games with this porgram for ages, and this event is extremely simple, and I really don't understand why it is not individualized here. It really seems like it should be, no?

    Am I missing something here?

    I really don't think I need to be asked to send any applications here, as all it is is in the picture. "Movement" doesn't have to do with it, I can remove that condition and it still doesn't work.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: One of my enemies' action applies to all?

    Is the first condition the condition "Compare to X position" on the enemy object, or a Compare Two General Values condition?

  3. #3
    No Products Registered

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

    Re: One of my enemies' action applies to all?

    It's not compare two general values, I know that it's not specific then.

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

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: One of my enemies' action applies to all?

    At a complete and utter guess, try reversing the two? As in:

    XRi < XPos("Enemy")

  5. #5
    No Products Registered

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

    Re: One of my enemies' action applies to all?

    I've had to submit and use fast loops, and I really wish I didn't have to as I don't want to push the sometimes limited performance of this program (to what I do).

  6. #6
    RayMarble
    Guest

    Re: One of my enemies' action applies to all?

    Hmm, I just tried to do something similar and it works here... so I guess I didn't understand what's the problem in the first place :-D

    Edit: admittedly my example uses qualifiers but it works even with one object duplicated a few times.

Similar Threads

  1. How to do Enemies?
    By Corlen in forum Lacewing
    Replies: 4
    Last Post: 18th April 2012, 06:59 PM
  2. Enemies
    By WareWolff in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th June 2010, 06:48 AM
  3. thrown enemies not detecting other enemies
    By mobichan in forum File Archive
    Replies: 4
    Last Post: 8th April 2009, 06:40 PM
  4. Help! All enemies performing same action!
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd September 2008, 12:03 PM
  5. enemies
    By spartan117 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 7th February 2007, 09:05 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
  •