+ Reply to Thread
Results 1 to 7 of 7

Thread: selfDestructAll() not removing constrainted props when duped.

  1. #1
    Wire Noob ad_theking is on a distinguished road ad_theking's Avatar
    Join Date
    Mar 2009
    Location
    Exactly where I'm standing at the moment.
    Posts
    22

    Default selfDestructAll() not removing constrainted props when duped.

    Ok, Firsty I'm gonna explain why I put this thread in here. The "Bugged reports" Forum... Is Bugged...

    But lets get to the point.

    we all know that the E2 fuction "selfDestructAll()" removes the expression AND the constrainted Props. However it work when spawned but does not work when duped, it only removes the expression.

    It would be cool if you fix it.

    Thank you, Buh Bye.

    Adrien "theking" Mantion
    Ya Thats what i Thought! : D

  2. #2
    Wirezard


    Matte is just really nice Matte is just really nice Matte is just really nice Matte is just really nice Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    2,102

    Default Re: selfDestructAll() not removing constrainted props when duped.

    I can confirm this problem, however, since I'm on a slow internet right now, I don't have the latest revision. Unless this was fixed in a revision from the last few days, the problem is still there.
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr


  3. #3
    Wire Sofaking Wizard of Ass will become famous soon enough Wizard of Ass will become famous soon enough Wizard of Ass's Avatar
    Join Date
    May 2009
    Location
    Germany Bremerhaven
    Posts
    823

    Default Re: selfDestructAll() not removing constrainted props when duped.

    The problem is that the duplicator and adv. duplicator first create the props/Sentities and then weld everything and if the e2 gets spawned it executes selfDestructAll() even the contraption isn't welded...
    Result: Only the e2 gets deleted.

    BTW: is it possible to use E:selfDestruct() ?

  4. #4
    Wire Sofaking Whosdr will become famous soon enough Whosdr's Avatar
    Join Date
    Dec 2008
    Posts
    1,382

    Default Re: selfDestructAll() not removing constrainted props when duped.

    So what your saying is that the expression chip is being spawned before the props, so it doesnt register the welds before remove.
    Whatever you do, do not read this!

  5. #5
    Expressionism 2.0

    Syranide has disabled reputation Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,179

    Default Re: selfDestructAll() not removing constrainted props when duped.

    Yes, add a short timer before calling selfDestructAll().

  6. #6
    Wire Noob ad_theking is on a distinguished road ad_theking's Avatar
    Join Date
    Mar 2009
    Location
    Exactly where I'm standing at the moment.
    Posts
    22

    Default Re: selfDestructAll() not removing constrainted props when duped.

    Quote Originally Posted by Syranide View Post
    Yes, add a short timer before calling selfDestructAll().
    Kinda humiliating to ask but... how?? ?
    Ya Thats what i Thought! : D

  7. #7
    Drone Madman
    Lyinginbedmon will become famous soon enough Lyinginbedmon will become famous soon enough Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,040

    Default Re: selfDestructAll() not removing constrainted props when duped.

    Well here's one way:

    timer("dupe_fill",100)
    if(clk("dupe_fill")){On = 1}

    if(On = 1){#Do stuff as normal

    You'd need to have On as a persist variable but not that big a thing really.

+ Reply to Thread

Similar Threads

  1. Issues with first() and duped()
    By thirty9th in forum Expression Help
    Replies: 9
    Last Post: 07-09-2009, 01:42 PM
  2. Removing Nuzzleflash from Turret?
    By Kamrua in forum Help & Support
    Replies: 3
    Last Post: 12-14-2008, 06:28 AM
  3. Wire Explosives Exploding when duped
    By ICDWILL117 in forum Help & Support
    Replies: 4
    Last Post: 08-18-2008, 02:53 AM
  4. removing wire object limits
    By draeath in forum Wiremod General Chat
    Replies: 2
    Last Post: 01-22-2008, 04:32 PM
  5. Removing SVN Checkout
    By Major Cooke in forum Wiremod General Chat
    Replies: 2
    Last Post: 11-14-2007, 07:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts