User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: Need help, shooting object toward other object!

  1. #11
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    The simple explanation is that any code with "Only one action" as a condition will run one time when those conditions return TRUE. But they will only run again if those conditions become FALSE and then TRUE again.

  2. #12
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    Quote Originally Posted by Jaffob
    It basically stops the condition from running constantly if it's true. Try removing it from my example, and you will see that it shoots a thick stream of bullets if you hold down the mouse button. That condition stops this from happening. If you add it to the "Always" condition, it becomes almost the same as a "Start of Frame" condition. It's really useful for a lot of different things.
    Hm ok maybe i get it.. a bit But would it not be easier to achive the same resault by having only the condition "user clicks with left mouse button" Instead of two conditions "repeat when mouse key is pressed" and "only one action when loop"

  3. #13
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    It would. However, you'll notice that if you use that condition, it becomes difficult to rapid-fire by clicking quickly (I think it's a bug). Using the two conditions instead fixes the problem.

  4. #14
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    Ah nice thanks i will have that in mind

    Also another thing i have thought about. Is it good to try to have all conditions in one line, like if you have a "allways" condition for all your conditions in one big condition, or is it more effective to have different "allways" for different actions? I hope maked some sense..


  5. #15
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    I'm not sure I understand what you mean. The "Always" condition doesn't have the effect of making something "always" happen. It only serves any purpose if it's the only condition in the event. It's basically the same as saying 1=1; it will always be true, but other conditions will stop the event from running if they are false.

  6. #16
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    Quote Originally Posted by Jaffob
    I'm not sure I understand what you mean. The "Always" condition doesn't have the effect of making something "always" happen. It only serves any purpose if it's the only condition in the event. It's basically the same as saying 1=1; it will always be true, but other conditions will stop the event from running if they are false.
    How do you mean only condition in an event?

  7. #17
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    An event is a single line in the Event Editor. An event is composed of one or more conditions, and one or more actions. The "Always" condition only makes a difference if, in the event it's part of, it is the only condition. So if, for example, you have an event with the conditions:

    -User Clicks
    -Always

    It would be the same as only the "User Clicks" condition.

  8. #18
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help, shooting object toward other object!

    Ok!, by the way is it possible to get your msn or skype or anyting, it would be nice to have someone to ask when you get stuck.. :P

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. 360 Shooting with PMO Object and animation?
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th January 2013, 09:06 PM
  2. [BUG] Shooting an object and deleting it
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th April 2010, 01:52 AM
  3. Pick up object and shooting
    By Mycale in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th August 2009, 12:04 PM
  4. Questions with shooting an object
    By flamewavex in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th March 2007, 06:18 PM
  5. Shooting An Object
    By JonesGJ in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 13th November 2006, 09:26 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
  •