User Tag List

Results 1 to 3 of 3

Thread: enemy spawn problem

  1. #1
    No Products Registered

    Join Date
    May 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    enemy spawn problem

    hey i'm driving myself crazy trying to figure this out. basically, i have a spawn point object that spawns enemies in my level. i want to make it so that it can't spawn another enemy until the one it's already created has been destroyed. but there are multiple spawn objects on screen at once that have all spawned their own enemies, so i can't just use the "have all objects been destroyed" thing.

    i've tried using fixed values for this but i must be doing something wrong. help?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Oct 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: enemy spawn problem

    Have an "ID" alterable value for both spawn points and enemies. Also have a Trigger value or flag for the spawn point.

    Spread value ID through all the spawn points. When an enemy spawns, set it's ID to the ID of the point it spawned from and also set the trigger to ON. When an enemy is destroyed, set the trigger of the spawn point with the same ID back to OFF.

    Pretty much you want an enemy to only spawn when the trigger is off. Hopefully that makes a bit of sense.

  3. #3
    No Products Registered

    Join Date
    May 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: enemy spawn problem

    thanks for your input, but i figured it out. i had some events in the wrong order. duuuuuh

Similar Threads

  1. Duplicate enemy problem
    By Ziplock in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 30th October 2013, 06:48 PM
  2. Problem with enemy lifebars
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 12th July 2010, 05:43 AM
  3. enemy problem
    By colin in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th October 2009, 07:40 PM
  4. Enemy spawn saving with string parsing.
    By SEELE in forum File Archive
    Replies: 6
    Last Post: 4th May 2008, 08:59 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
  •