Seifer Posted February 12, 2005 Share Posted February 12, 2005 Whats the most painless way to destructively replace a line with one of your choosing? An example, if a NPC has an unvoiced line and I want to replace it with exactly the same line but one which has a command to play a sound file alongside it, how would this be done? Seif Link to comment
the bigg Posted February 12, 2005 Share Posted February 12, 2005 Whats the most painless way to destructively replace a line with one of your choosing? An example, if a NPC has an unvoiced line and I want to replace it with exactly the same line but one which has a command to play a sound file alongside it, how would this be done? Seif <{POST_SNAPBACK}> In this case, COPY_EXISTING ~mycre.cre~ ~override~ SAY REACTION_TO_INSULT "Do not insult me!" [TB#STI04] If it was a dialog, then (this is a .d) REPLACE_SAY ~foo.dlg~ 5 ~Hello, this is state 5.~ 5 is the state number you want to change, you can specify multiple ones. The general way (which is, unfortunately, painful) would be: SET_STRING #old_string_number ~New text~. Link to comment
Seifer Posted February 12, 2005 Author Share Posted February 12, 2005 Thought it was something like that. Cheers Seif Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.