Hi,Is it possible to remove or modify explods if the helper that created them doesnt exist anymore? I have some orphaned explods all over the place and I cant take them out.Thank you.
If the helper is disappearing it would make sense to run a removeexplod on the helper during its death state. If you don't specify an id it ought to kill all of them.
Thats the problem. The helper is already dead and only its explods remains. I need to remove them when I execute a custom state.
You can always have the helper change to a standby state that won't destroy self until all explods owned by it are removed. If you don't want to do that, you may have to spawn those explod in statedef -2/-3 whenever the helper is present and then removeexplod when the helper is no longer present.
supercain said, July 11, 2020, 09:32:05 pmHi,Is it possible to remove or modify explods if the helper that created them doesnt exist anymore? I have some orphaned explods all over the place and I cant take them out.Thank you.in Mugen 1.1destroy a helper like this will remove all helpers and explods belongs to that helperCode: [State 985, End]type = DestroySelftrigger1 = xxxxremoveexplods = 1recursive = 1
You have been given different ways to solve your problem, all of them work and it's just a matter for you to choose what works best for you.A) set the removecplod with the same triggers as the destroyselfB) have the helper go to a vanishing or empty state where he's invisible, remove the explod there and then do the destroyselfC) use mugen 1.1Or D) spawn the explods through the -2/-3 states as well as the removeexplodsIf you don't want to do any of them, there's nothing else we can help you.
There is actually too many helpers that leave orphaned explods which I need to remove at a given time so I cant just go and modify each of those helpers because it would be overwhelming. Thats why I need something that can just remove the orphaned explods regardless of the helper. I use mugen 1.1 by the way.
Once a helper is destroyed, all explods spawned from it cannot be manipulated in any way afterwards. That's just how it works, there is no simple shortcut for this kind of thing. If my two suggestions are not something you want to use, the only other suggestion I can give is have a removeexplod with ID = -1 inside every helper and the helper does not destroyself until those explods are no longer present.
Unless, there is another helper which take part into that helper slot, and that orphane explod might be belong to that new helper. Because both player and helper pointer address is fixed during the match(in mugem memory ofc), so i think imight be had another solution for your question. But it's depend on your luck, bc that orphans explod could be belong to your own helper or enemy helper. Hope it's useful to you.