Jump to content

Format messages?


kert349

Recommended Posts

Hello

is there in NV scripting or in NVSE possibility to add strings together or do string formatting?

so you could show the player messages from constructed string via ShowMessage.

 

thx.

Edited by kert349
Link to comment
Share on other sites

You could check this out

 

http://geck.bethsoft.com/index.php/ShowMessage

 

See if that helps you. You can use variables in the message itself. I know because I accidentally did that, and got a result I wasnt expecting. using the % sign to call it. Plus you use a script to activate the message so you could probable do something with that also.

Link to comment
Share on other sites

This programming language, whatever it is called, does not appear to allow strings as variables. That limits how much you can do with formatting, I guess. What is the particular effect you want to achieve?

 

Edit: #$%(%#($ !! Ninja'd twice in two minutes. Must learn to type faster.

Edited by davidlallen
Link to comment
Share on other sites

Probably this feature no longer exists, but the TES wiki lists a function "message" which takes a string:

 

if (condition1)
  message "NCR has occupied Primm"
elseif (condition2)
  message "Legion has occupied Primm"
endif

 

The geck wiki has a page for this, but it redirects to showmessage. It may be worth a quick experiment.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...