The Rules said:4. Keep in mind that you may not be answered immediately. Be patient. If your thread is clean, reasonable, and easy to understand, it will be answered.
5. We here at TH.net are not a Warcraft III editing service. Do not expect for you to hand over your map to us and have it handed back magically complete. It won't happen. So don't try.
There are cases where the problem can't be readily seen in the posts, in which case you will be asked to upload the map for someone to look at, but they will only be looking at that one problem.
..
If 24 hours have passed, you were the last one to post, and your question has not been answered, you may bump your thread. But the 24 hour limit will be enforced, so be careful.
If 24 hours have passed, you were the last one to post, and your question has not been answered, you may bump your thread. But the 24 hour limit will be enforced, so be careful.
Set TempGroup = (Units of type Nhan Kiem Hop Nhat)
Set TempGroup2 = (Units of type Effect NKHN)
function GetUnitsOfTypeIdAllLeakless takes integer unitid returns group
local group g = CreateGroup()
local integer index = 0
set bj_lastCreatedGroup = CreateGroup()
loop
set bj_groupEnumTypeId = unitid
call GroupEnumUnitsOfPlayer(g, Player(index), filterGetUnitsOfTypeIdAll)
call GroupAddGroup(g, bj_lastCreatedGroup)
set index = index + 1
exitwhen index == bj_MAX_PLAYER_SLOTS
endloop
call DestroyGroup(g)
set g = null
return bj_lastCreatedGroup
endfunction
Set TempGroup = (Units of type Nhan Kiem Hop Nhat)
Set TempGroup2 = (Units of type Effect NKHN)
Set TempUnitType = Effect NKHN
Custom script: set udg_TempGroup = GetUnitsOfTypeIdAllLeakless(udg_TempUnitType)
Set TempUnitType = Nhan Kiem Hop Nhat
Custom script: set udg_TempGroup2 = GetUnitsOfTypeIdAllLeakless(udg_TempUnitType)
niceYou could btw use the [noparse][noparse][/noparse][/noparse] tags instead of those * inside the tags. [noparse][noparse][/noparse][/noparse] would transform into [noparse]Trigger:
[/noparse] (see, no stars and it's still as plain text? ).Trigger:
event
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in TakeDamGroup and do (Actions)
Loop - Actions
Game - Display to (All players) the text: (Take Damage group : + (Name of (Picked unit)))
Your problem lies in NKHN Move:
(Units of type ...) happens to leak in a way you cannot fix using any simple custom scripts (like some other GUI actions seem to do, too).Code:Set TempGroup = (Units of type Nhan Kiem Hop Nhat) Set TempGroup2 = (Units of type Effect NKHN)
....