Zedzy
ℑΣÐℑΨ
- Reaction score
- 41
I don't know much about computers so can some1 help me with this:
How do I get the most recent one or whatever?

How do I get the most recent one or whatever?
Because that is an horrible way of removing unit group leaks.First off, on the unit group leaks, why doesn't it show "Custom script: set bj_wantDestroyGroup = true"?
While not as efficent as setting a unit group variable then destroying it, it's alot easier.
Not being as efficient may explain why it's not a very viable option for leak removal (from what I've heard, it doesn't even work sometimes :S) and you can't use the group later which is one more good point about using group variablesFirst off, on the unit group leaks, why doesn't it show "Custom script: set bj_wantDestroyGroup = true"?
While not as efficent as setting a unit group variable then destroying it, it's alot easier.
It is because it destroys it on ForGroup call. I don't see how it is inefficient though, I mean, the trigger still processes the if, it just doesn't perform the action.Not being as efficient may explain why it's not a very viable option for leak removal (from what I've heard, it doesn't even work sometimes :S) and you can't use the group later which is one more good point about using group variables
function ForGroupBJ takes group whichGroup, code callback returns nothing
// If the user wants the group destroyed, remember that fact and clear
// the flag, in case it is used again in the callback.
local boolean wantDestroy = bj_wantDestroyGroup
set bj_wantDestroyGroup = false
call ForGroup(whichGroup, callback)
// If the user wants the group destroyed, do so now.
if (wantDestroy) then
call DestroyGroup(whichGroup)
endif
endfunction
Nvm it works, after I downloaded that library file from Knight770 TY SO MUCH! <3This looks like a great tool, but for some reason I can't open it? Am I doing something wrong? Whenever I double click it, nothing appears and only this faint sound (when you make an error) is heard when I click it :banghead:.
... I heard that www.sourceforge.net gives FREE web hosting space for ppl that decide to make their source code "Open Source"Sure thing. Once I finish commenting it I'll post it. This version is made in Visual Basic 6 so I will upload the actual files as well as the code itself for those who don't have VB6.
How do you make that work with Vista 64bit? I don't really have a clue about these things, so all I can do is to follow a tutorial like the one on the site. I tried placing the file in my System32 folder and then doing as it says on the site.
The module "\windows\system32\COMCTL32.OCX" failed to load.
Make sure the binary is stored at the specific path or debug it to check for problems with the binary or dependant .DDL files.
The specified module could not be found.
ohNoes
Events
Unit - A unit Is issued an order targeting an object
Conditions
Actions
function Trig_ohNoes_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_ohNoes takes nothing returns nothing
set gg_trg_ohNoes = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_ohNoes, EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER )
call TriggerAddAction( gg_trg_ohNoes, function Trig_ohNoes_Actions )
endfunction
For each (Integer A) from 1 to 3000, do (Actions)
Loop - Actions
Unit - Order Footman 0002 <gen> to Right-Click Footman 0000 <gen>
Why don't you try it and see if it can? :thup:will this work on windows millenium?