User Tag List

Results 1 to 10 of 10

Thread: How to make a gun fire when picked up?

  1. #1
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make a gun fire when picked up?

    Hi, I want to make my character shoot out lasers when a certain button is pressed. However I want him to do this ONLY after he has picked up an object i.e. a gun.

    Any help is greatly appreciated! Thanks in advance

  2. #2
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Have a global counter set to 1 after he picks it up and "upon pressing space bar + global value A = 1" ---->shooting animation/launch object. Turning on a flag on the player character after taking the gun if you don't want to use global values should be fine too. Just make sure that the player object is a global object otherwise flags will be reset when you leave an area. Hope this helps :-)

  3. #3
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I set this for after he picks up the gun? That's mainly what I cant figure out. :-)

  4. #4
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    As soon as you take the gun you add 1 to a global value or turn on a flag on the player character. In the events you add the stuff i wrote in my first reply. That means he can't shoot even if space bar is pressed unless global value =1 or if you use a flag, not until flag 1 is on.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Topic sounds dangerous

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Made a quick example. Something like this you're looking for?
    Attached files Attached files

  7. #7
    Clicker Fusion 2.5Android Export ModuleFirefly 3D Module

    Join Date
    Sep 2010
    Posts
    577
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Ah you beat me to it Chrilley I was just ready to post an example

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    I got... trigger happy.

  9. #9
    No Products Registered

    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do I set a flag? Sorry it wont let me see the example (I think i may be using an outdated version or something) :-(

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    chrilley's Avatar
    Join Date
    Jul 2006
    Posts
    1,013
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    It's made with Fusion 2.5 Developer version. I am actually not sure if that has an impact when opening the files with Standard Version. I don't think so though.

    You can grab the latest update in the menu bar at "Help" > "Check For Update"

Similar Threads

  1. How to make Fire Trap
    By termojad in forum Fusion 2.5
    Replies: 4
    Last Post: 3rd July 2015, 01:27 PM
  2. Touch Joystick, Fire 1 Button, Fire 2 Button
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 13th February 2012, 01:37 AM
  3. Help with Fire
    By Tiger in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th November 2011, 01:13 PM
  4. picked up as virus, gwerdy movement controller
    By twister in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 6th February 2011, 05:43 PM
  5. Problem with fire 1 and fire button 2 in beta 11
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 31st January 2011, 07:51 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
  •