Creepin Posted April 15, 2006 Share Posted April 15, 2006 I'm trying to add some states to an existing dialogue. There's WEIGHTs on some of standard states already, with state 0 having lowest priority (weight # 3). While my custom states are having weights as well, I still want state 0 to retain lowest priority, so I tried to compile .d file structured like this: SET_WEIGHT Keldda 0 #10 APPEND Keldda IF WEIGHT #5 ~True()~ THEN BEGIN cr01 SAY ~Blah~ IF ~~ THEN REPLY ~Blah-blah~ EXIT END END However, after compiling this into original dialogue state 0 still retain it's "lowest among original content" weight #3 and my custom state gets weight #4 - even lower priority than state 0. Changing sequence of instructions in .d file (first append, then set_weight) yields no improvement sa well The only way I found to circumvent this issue was splitting .d in 2 files (1st for adding new state and 2nd for changing state0 weight) and compiling them consequently, but I believe that it's too crude way to be right one, so I still wonder how should it be done correctly? Link to comment
This topic is now archived and is closed to further replies.