Jump to content

Home

[KotOR] Outputting Script Results


Recommended Posts

I'm wondering if anyone can give me some ideas of how I can output information computed within a script. The only method I'm aware of is SendMessageToPC(), but I'm wondering if there are others. Specifically, I'm trying to figure out if there is any way to create dynamic conversation or a dynamic talk bubble in the upper left corner of the screen. (Like all the Selkath on Mannan who won't talk to you.)

 

Can anyone give me some ideas of how to output / display script-generated info, or is SendMessageToPC() the only possible way to do it?

Link to comment
Share on other sites

There is one way I can think of right now:

 

You can use a dialog file to create the 'bubbles' by only creating an entry node under the root node without creating a reply. This way these 'bubbles' will appear instead of the full dialog screen. Now you can bind the nodes with the output you chose to a conditional script to check a global number (example) while you're main script that is triggered outside of the dialog sets the global number and starts the conversation with the PC.

 

Hope you understood what I meant to say. If you didn't, I'll explain it in more detail...

 

Fastmaniac

Link to comment
Share on other sites

I wasn't saying that you can display them directly... You can put every possible output of the script in the dialog file like:

 

Root
-> Output 1
-> Output 2
-> Output 3
etc.

 

And on each of these nodes you attach a conditional script for choosing which of the result the actual 'main' script has set. The Global Numbers was just an example...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...