Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Please allow us to Pass Parameters in Conversations

There is an incredible amount of repetition in conversations scripts.

Currently, the only way to pass anything like a parameter is to use tokens which take a minimum of three scripts and look ugly in the conversation as you must scroll through them one at a time serially instead of showing them in a nice vertical list.

Otherwise, to show it is a list, you end up creating a bunch of scripts often with only one value different in each one. All the scripts are in the root folder so its already a terrible mess.

if Beamdog could write

void main()

to be functionally equivalent of

void main(...)

instead of

void main(void)

that would be incredibly helpful.

We could pass parameters as a tag based system in the conversation in order they occur (all string types could be converted in the script), from a list in the conversation UI, or (and this is my least favourite) a naming system from the object's local variables.

example

Hi
hi <param>foo1</param> want to <param>bar1</param>?

hi foo1 want to bar1?

and the conversation script would read

void main(string param1, string param17) {}

result

param1 = "foo1"
param17 = "bar1"

This would be incredibly helpful.
Thanks,
Lucky Day

NeverwinterWights

Comments

Sign In or Register to comment.