Author Topic: [v1.7.5.23] "{TXTALPHA:}" erroneous documentation  (Read 1699 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4761
  • RTFM
[v1.7.5.23] "{TXTALPHA:}" erroneous documentation
« on: May 29, 2019, 05:35:55 PM »
Quote from: VoiceAttackHelp.pdf page 142
{TXTALPHA:variableName / value} - This will attempt to remove all numeric characters
(0-9). This token can also render a literal text value or token, if the literal text or token is
contained between double quotes. For example, if text variable, ‘myTextAlpha’ is set to,
‘8675309 Jenny’, {TXTNUM:myTextAlpha} will return as “ Jenny”.
{TXTALPHA:”{TXT:myTextNum}”} will also render as, “ Jenny”. {TXTALPHA:”Brick, 08724”}
will render as, “Brick, ”.

It states "{TXTNUM:myTextAlpha} will return as “ Jenny”.", which is impossible as that token only returns numeric characters, so I believe that should be "{TXTALPHA:myTextAlpha}"


EDIT: Also noticed this:
Quote from: VoiceAttackHelp.pdf page 182
GetSessionEnabled(Guid InternalID) - This Boolean function works exactly like,
‘GetSessionEnabled’ above, except the command is located by its InternalID.
SetSessionEnabledByCategory(string CategoryName, Boolean Enabled) - This function

Those two items are squished together without a line break.


EDIT: Fixed with v1.7.5.31
« Last Edit: June 03, 2019, 08:31:44 PM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: [v1.7.5.23] "{TXTALPHA:}" erroneous documentation
« Reply #1 on: May 29, 2019, 10:00:35 PM »
Got 'em!  Thank you ;)

(Copy/paste error on the first one).