hud conditional text

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

hud conditional text

Postby ingcra » Mon Nov 30, 2009 7:37 am

Is there the possibility to display in hud some text if certain conditions are verified?
eg if oppo fold to CB >=65 then hud display "oppo cbettable"

would more outright than numbers
ingcra
 
Posts: 7
Joined: Mon Nov 30, 2009 7:15 am

Re: hud conditional text

Postby kraada » Mon Nov 30, 2009 9:56 am

Yes, you can. You'll need to edit the Format tab on the stat in question to make it look something like:

if (CONDITIONAL, 'DISPLAY TEXT','OTHERWISE DISPLAY THIS')

For more details, see the September 5th edit in this thread's first post.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: hud conditional text

Postby ingcra » Mon Nov 30, 2009 1:09 pm

Great, thx.
ingcra
 
Posts: 7
Joined: Mon Nov 30, 2009 7:15 am


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests