Jump to content

TokenTxt.2da documentation incorrect


Recommended Posts

STRINGT - strref if condition is true (i.e. VALUE < STAT OR VALUE = STAT)
STRINGF - strref if condition is false (i.e. VALUE >= STAT OR VALUE != STAT)

It doesn't take a strref.  It takes a string.  If you put in a strref, you'll just end up with the number being put into the dialogue, not the associated text.

Link to comment
1 hour ago, lynx said:

That's pretty lame — means you can only use single-word tokens.

You can fake it by using the non-breaking space (U+00A0). It doesn't count as column separator in 2da files.

Typing a non-breaking space can be tricky. On Windows the keyboard shortcut Alt+255 (digits entered on the numeric keypad) might work.

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...