User Tag List

Results 1 to 3 of 3

Thread: How to limit the amount of a certain object can be in the play area?

  1. #1
    No Products Registered

    Join Date
    Jan 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to limit the amount of a certain object can be in the play area?

    Basically, I have a sword that when you press Z, it is set to create the object where the character is and it plays it's swinging animation. It destroys the sword when the animation is over so they don't build up. It is also set to follow the character, but if you spam Z, the swords overlap each other. How would I make it so there can only be 1 of that object in the world at a time?

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    679
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    only create a sword if a sword doesn't already exist, by checking for it with "compare to the number of "sword" objects".

    -number of swords = 0
    +user presses Z
    ---> create sword object

  3. #3
    No Products Registered

    Join Date
    Jan 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I never even thought about doing something like that.

Similar Threads

  1. How to limit XMouse and YMouse area?
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th December 2016, 06:52 AM
  2. Replies: 1
    Last Post: 18th May 2015, 02:37 AM
  3. Make object go faster in play area
    By Evilized79 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st May 2011, 06:17 AM
  4. If Object is in the Play Area....
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th September 2010, 11:59 PM
  5. How do you wrap an object around the play area?
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 29th August 2010, 10:22 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
  •