Hi all,
I currently have an idea for a feature that I would like to add to a mod that I am working on but I am not sure whether it is actually possible at this time. I would like to gauge some feedback on whether my goal is achievable before I invest too much more into it.
In brief, the player character would contract a curse / disease similar in effect to http://en.wikipedia.org/wiki/Aphasia.
In effect, at random times the player would not be able to understand their dialogue response options.
The pseudo code in my head works as follows:
// Our random dialogue optionsarray ['aaa', 'bbb', 'cccc', 'ddd', 'eee' ];// Is the player in a conversation?function() { // Is our aphasia condition true if( blah blah blah ) { //replace dialogue strings with array }}
Is it possible to edit a dialogue string in this way or at all?
Many thanks for any responses.