Troll-Brain
You can change this now in User CP.
- Reaction score
- 85
JASS:
library TestEnum initializer onInit
private function filter takes nothing returns boolean
// you can write what you want, this text won't be showed anyway
call BJDebugMsg("Me > Chuck Norris")
return false
endfunction
private function onInit takes nothing returns nothing
call UnitAddAbility(CreateUnit(Player(0),039;hpea039;,0.,0.,0.),039;Aloc039;)
call TriggerSleepAction(1.)
call GroupEnumUnitsInRect(CreateGroup(),GetWorldBounds(),function filter)
// just in case some one worry about the TSA inside an initializer
call BJDebugMsg("see you are allowed to use TSA in a library initializer but not in a scope one, because library initializers are ExecuteFunc calls")
endfunction
endlibrary
I was pretty sure it worked before, i'm wrong ?