The point is, users can pass null triggers...
And guess what? The last time I checked, that ISN'T good.
Do you follow me?
who in gods name would pass a null trigger, but w/e ill change it
You can use Event Responses normally in the triggers you register this event to.
There's no need for those globals.
private function INIT_GROUP takes nothing returns boolean
call TriggerRegisterUnitEvent(QDD_Trigger, GetFilterUnit(), EVENT_UNIT_DAMAGED)
return false
endfunction
private function ENTER_RECT takes nothing returns boolean
call TriggerRegisterUnitEvent(QDD_Trigger, GetFilterUnit(), EVENT_UNIT_DAMAGED)
return false
endfunction
//$ - JESUS4LYFE for letting me use Event <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />
Lol, sorry to do this but...
JASS://$ - JESUS4LYFE for letting me use Event <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />
No "e" on the end, bro... It's just Jesus4Lyf. Heh. :thup:
But thanks.
That's a bit arrogant, since the only point I was making was they wouldn't be "1.23b AND 1.23 compatible". Of course I've looked into the patch.Maybe you should look into the 1.23b patch more before you make suchs statements.
So, apparently you mistook my problem with H2I - people using H2I-0x100000. GetHandleId-0x100000 is just as bad.So your "scare" for H2I ain't viable anymore
With the new hashtable handle we don't have that problem.... And the only problem you can ever get with using the 0x100000 method is indexing out of bounds and that can easily be solved if you know what you are doing.So, apparently you mistook my problem with H2I - people using H2I-0x100000. GetHandleId-0x100000 is just as bad.
Almost no system up to date will be both 1.23 and 1.23b compatable so why even try to use that as an argument?That's a bit arrogant, since the only point I was making was they wouldn't be "1.23b AND 1.23 compatible". Of course I've looked into the patch.
The user will do it.and i don't compare my codes to other codes.