PDA

View Full Version : Filter Opportunities of another definition



ibyoar
10-06-2014, 02:25 PM
Would be possible filtering by Opp of another definition?
I find that in many cases filtering by instances of another def is not vety useful.
For example, i have 2 notes: 1)bb fold to sb steal 2)bb fold to sb (hero) steal
Suppose he is folding 80% to another player steal and is folding 0% to my steals
i would like to show second note when villains has faced an steal from me 20 times...if villain fold 0% of the time would never be an instance of that note...

pantik
10-06-2014, 04:39 PM
What about just setting Opportunities in the Advanced tab for the second definition?

ibyoar
10-06-2014, 05:24 PM
Maybe i have explained wrong.
I dont want 2 notes in my hud. I want just 1 note:
note 1) until note 2) has certain opp/instances.
I know i can filter note 2) indicating opportunities, but that way note 1) may be showing until the number of required instances of note 2) has been reached

pantik
10-06-2014, 07:48 PM
Ah, ok. I guess the way to do that is creating a definition where hero open raises in SB marking "Assign note to enemy". So you get the times the enemy get openraise for u and later you filter your note 1) by this note definiton.
I dont know if i have explained right.

ibyoar
10-07-2014, 02:34 AM
Thanks for your help,
you have explained well :)
the "problem" is that i am semi-duplicating notes, that data (villain face steal from hero in sb) is already contained in second definition, so would be useful to have the ability to filter by Opp of another definition

pantik
10-07-2014, 04:16 AM
You can hide the auxiliary definiton.

Catalyst_Kh
10-07-2014, 05:41 AM
Simply add composite definition, which will show one of two (or more) stats, depending on conditions. In this case:
Expression = (("NC.Def1" > "NC.Def2") * ("NC.Def2")) + (("NC.Def1" <= "NC.Def2") * ("NC.Def1"))

Edit:
or even Expression = (("NC.Def1" > "NC.Def2") * ("NC.Def2".opportunities => 10) * ("NC.Def2")) + (("NC.Def1" <= "NC.Def2") * ("NC.Def2".opportunities => 10) * ("NC.Def1")) + (("NC.Def2".opportunities < 10) * "NC.Def1" )

ibyoar
10-07-2014, 06:13 AM
Simply add composite definition, which will show one of two (or more) stats, depending on conditions. In this case:
Expression = (("NC.Def1" > "NC.Def2") * ("NC.Def2")) + (("NC.Def1" <= "NC.Def2") * ("NC.Def1"))

Edit:
or even Expression = (("NC.Def1" > "NC.Def2") * ("NC.Def2".opportunities => 10) * ("NC.Def2")) + (("NC.Def1" <= "NC.Def2") * ("NC.Def2".opportunities => 10) * ("NC.Def1")) + (("NC.Def2".opportunities < 10) * "NC.Def1" )

Yes...that is the solution...thank you both

pantik
10-07-2014, 01:18 PM
Nice way Catalyst. A question just for know if i understand it. Why you use ("NC.Def1">"NC.Def2") in the expression?
I mean why not just:

("NC.Def2".opportunities > 10) * ("NC.Def2") + ("NC.Def2".opportunities <= 10) * ("NC.Def1"))

Catalyst_Kh
10-07-2014, 02:08 PM
Because he showed example when he wants to see the lower number, whatever it is, so to say "what is worst expectation".

Edit:
I use simple "NC.Def2".opportunities > 20 and "NC.Def2".opportunities > 30 in my HUD, exactly the way you posted.

pantik
10-07-2014, 02:15 PM
I am confused where he says he wants to see the lower number?. Sorry for my bad english maybe i am missing something.

Catalyst_Kh
10-07-2014, 02:20 PM
Maybe i missed something too, i read it again and now i see nothing about that, thus he may end up with:

(("NC.Def2".opportunities => 20) * ("NC.Def2")) + (("NC.Def2".opportunities < 20) * ("NC.Def1"))

ibyoar
10-07-2014, 04:47 PM
there is a problem (minor problem) using composite definitions.
Suppose (like pantik said):
("NC.Def2".opportunities > 10) * ("NC.Def2") + ("NC.Def2".opportunities <= 10) * ("NC.Def1"))

if "NC.Def2".opportunities = 0...we will never see "NC.Def1", because nc will treat any compiste definition which has no"NC.Def2".opportunities as 0

ibyoar
10-07-2014, 04:55 PM
Maybe i missed something too, i read it again and now i see nothing about that, thus he may end up with:

(("NC.Def2".opportunities => 20) * ("NC.Def2")) + (("NC.Def2".opportunities < 20) * ("NC.Def1"))

Probably you missed nothing...my english is not good enough to say what i mean
the above composite note was what i was looking for

Catalyst_Kh
10-07-2014, 06:26 PM
I thought you was looking for some specific result. State that result again in the most unambiguous way possible to clear all doubts.

Try checkbox with replacing absent NC definition with zero in composites settings.

ibyoar
10-07-2014, 06:31 PM
I have tried replacing absent definition with 0. The result is 0 (otherwise is -)
I have tried a very simple composite definition (NC.def.opportunities) + 25...the result is 0. I think the problem is that in the moment taht nc finds an absent definition it treats all the expression as 0

Catalyst_Kh
10-07-2014, 06:36 PM
But why is it working for me then?

ibyoar
10-07-2014, 06:39 PM
maybe you have any opportunities of that note?

Catalyst_Kh
10-07-2014, 06:40 PM
As a last resort you can simply place two stats at the HUD, to see both at once. I actually like it this way with 3-Bet vs hero near overall 3-Bet stat at the HUD, instead of badge or composite replacement.

Catalyst_Kh
10-07-2014, 06:41 PM
maybe you have any opportunities of that note?
I have composites which works with one stat totally absent.

ibyoar
10-07-2014, 07:01 PM
Sorry,
i have been dealing during 3 hours...making several changes...testing everything...and now i have realized that the result was 0 because def1 hasnt opportunities :(
i apologize for wasting your time