User Tag List

Results 1 to 3 of 3

Thread: How to destroy object Sensor?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Decoamorim's Avatar
    Join Date
    May 2013
    Location
    Florianópolis, Brazil
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to destroy object Sensor?

    Hello Friends,

    I am having a issue with that item.

    How to destroy the object sensor?


    Exemple:

    I have an enemy that has a sensor to simulate reactions with the player.
    When the player atacks, the Valeu A of the enemy adds 1.
    When that Value A = 10 destroy the enemy.

    But how do i destroy the sensor?

    I was think of using spread value. Than use it like this: alway - spread 0 on value B (sensor)
    always - spread 0 on value b (enemy)


    value B (sensor) = Value B (enemy)
    Value A (enemy) = 10 (the value that destroy it) ---> destroy sensor.

    but that doesnt seem to work... some one have a better aproach?

    thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Yima's Avatar
    Join Date
    Feb 2008
    Location
    Sweden
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I made a simple mobs with health bars example for you. It utilizes fast loops and ID:s to keep track of which health bar belongs to which mob. When a mob is killed, the health bar is destroyed with it, and all mobs with a higher ID than the destroyed mob will get their ID:s lowered by 1.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Decoamorim's Avatar
    Join Date
    May 2013
    Location
    Florianópolis, Brazil
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks man!

Similar Threads

  1. Destroy then Paste Object
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th August 2012, 03:49 PM
  2. Help with Destroy Object
    By lucaoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th September 2011, 03:49 AM
  3. Destroy Object..
    By MostDreaded in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 14th January 2011, 05:18 AM
  4. Wii mote Sensor bar?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd October 2008, 11:52 PM
  5. trying to destroy a object when shoot twice
    By dylan99379 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th December 2006, 02:54 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
  •