HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom script to use in gui to remove remove temp pick destructible group?

10-21-2006, 03:19 PM#1
Brash
I often use this custom script before doing a pickall unit action to keep things clean:

Trigger:
Custom script: set bj_wantDestroyGroup = true

What I would like to know is if there is a similiar script for pickall destructibles?

I know this doesn't typically cause leaks however I have a trigger that will be running periodically very rapidly at possibly as fast as 0.01 and each time it runs it will do a pick all destructible and manipulate those destructibles.

since it runs so often, i'm worried that it just may leak.
10-21-2006, 04:30 PM#2
Naakaloh
I don't think there is, I would say just write your own function in JASS so you don't have to worry if it's not destroying it or not.
10-21-2006, 07:23 PM#3
Anitarf
The pickalldestructables doesn't use a "destructable group", because there's no such thing, it picks them directly from a rect, so it doesn't leak this way.
10-21-2006, 10:52 PM#4
Brash
hey, thanks a lot. that helps! i've always wondered about that.