Jump to content


Photo

Appending to the top of dialogues?


  • Please log in to reply
4 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 22 April 2017 - 05:31 PM

APPEND puts state on the bottom of a file, how do I get them on top?



#2 jastey

jastey
  • Administrator
  • 3218 posts

Posted 23 April 2017 - 02:21 AM

Why would you do that?

 

If you need a dialogue to trigger before another although the triggers prevent this, use WEIGHT.

 

IF WEIGHT #-1  // -> will be turned into a weight of highest priority in this dialogue file upon installation.

~Triggercondition~ THEN mystate

SAY ~blah~

etc.


Edited by jastey, 23 April 2017 - 02:21 AM.


#3 temnix

temnix
  • Member
  • 983 posts

Posted 23 April 2017 - 09:50 AM

Oh, god. The weights. Well, if it's the only way to do it... Thanks, I guess.



#4 temnix

temnix
  • Member
  • 983 posts

Posted 23 April 2017 - 06:23 PM

Okay, that worked. Thank you. I don't know what weights to take to outweigh everyone else who might want to be on top of those dialogues, though. Negative, sure, but how deep?

 

*Free-falling towards negative infinity in a sort of reverse dick-measuring contest*



#5 jastey

jastey
  • Administrator
  • 3218 posts

Posted 23 April 2017 - 08:15 PM

You have no way to insert a weighted dialogue that is more "important" than one that is installed after yours. But that is why you don't insert weighted dialolgues that block the original greetings dialogue of a character forever, hoping that other modders behave, too. (It's called compatibility.)


Edited by jastey, 23 April 2017 - 08:16 PM.