Jump to content

Question


Seifer

Recommended Posts

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
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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...