I agree. It is pretty useless.
If someone really needed anything in this, they could just make it.
ofc just bring this whole thread down, why should anyone use anyones else libs?
ohh wait whats the purpose of THW? hmm...
>>in order to destroy trigger actions and custom events correctly!
You should have a separate function for that.
>>there is really no reason for tha
Sure there is. You'd better document that flaw.
>>there is really no reason for that and GetEnumPlayer.
Flaws are flaws.
>>AddConditionEx is good coz it allows you to type code directly, nothing else, just that
If you read my post, you would know that you can do type just the function into TriggerAddCondition, too.
>>round is good and works...
Round is not done correctly.
>>iabs and rabs are better then BJ-s!
iabs and rabs ARE BJs.
>>dynamic trigger was supposed to be used since its for an single call where you can use sleep...
The dynamic trigger is not needed. At all. It only slows it down.
1) i could but its a waste, and second... why where hooks added? to look at em...
2) if you really want to have func inside func, than just make it an normal func and call it the normal way! i added that ExecuteCode coz i needed speed and i dont care if it cant be called inside of ExecuteCode... lol
3) how is GetEnumPlayer() a flaw? why should it return null? if it returns player(0) how would the code bug? first of all you even should not use GetFilter/EnumAnything inside func, only in enum/filter funcs... if you know that its logical that you wont be using this in ExecuteCode...
4) i know u can use Filter/Condition but i want to do this: AddCondEx(trig, function test)
that function can return nothing as well!
5) then show me whats wrong, in which cases it does not work and how would it be correct, else i wont belive u!
6) every custom func is a BJ! question is... can it be coded better? do i like to see SomeFuncBJ and such a long names in my code? can i make it even faster? and such.
7) every action slows down PC, static triggs would just leak a lot here and really how much slow does it get? its more important to clear memory from leaks now to improve speed later than few nanoseconds here...
you are such a simple being...
---------------------------------------------------------------
btw there are a lot of systems and all that that use hooks, LeakHelper being one of em! but its approved so dont tell me i cant use 1 hook in large engine.
btw this whole library is modular, why would it not be? just coz its a group of libs does not mean its not modular... in fact thats great coz one uses another and it makes code more readable and faster. for example i made DamageDetection which only generates one main trigger. i could have do that for each trigger i needed in each lib, but that would leak events and would be slow...
i have already said this is great for making maps, saves time and is modular.
if there is an bug in code and func does not what it is supposed to then i would like to know about it. however comments like: omgz this takes 1 more nanosecond than it should have! i dont want to waste my time on this coz i have campaign to make and more important things than reading "this is useless!"
such constructive comments shall be ignored ofc.
i am not saying that this libs are "best code ever" but i know i made them and i know that they dont suck. if you cant find use for them that does not mean they are useless! coz i never found the reason to use a single library that is not made by me... that does not mean that libs are useless.
as i said before if someone founds bugs ill try to fix them asap, but i wont waste my time reading or answering on "funny" comments again.
Greets!
~DD