So, I'm a beginner at scripting and not too familiar with the MW Construction Set. Some of you might have noticed http://www.gamesas.com/topic/1467206-wipz-interactive-ordinators/(sort of).
The companions are supposed to be romanceable and I want the player interaction with them to be as natural and RP-friendly as possible, so I decided to create an "Attraction" variable. The NPCs will say different things to you not only based on disposition, faction etc but also depending on whether or not they are attracted to you, and how much.
I figured out how to do that in the scripts attached to the NPCs, so race and some attributes now influence how attracted they are to you. But dialogue, that's a problem!
If I write something like
set Attraction to ( Attraction + 3 )
in the result box, I get an error and I understand why. An Ordinator whose attraction to you is infinitely increased by 3 because of a fairly unimportant dialogue choice might be a problem not only for the player character, but also for more technical reasons. So I tried to do what I do in the script window, use "if" and a "do once" type variable. But that causes the construction set to crash.
So any explanations, ideas and suggestions are welcome.