Jump to content

Question to USING


jastey

Recommended Posts

If I have two .d files that share dialogue states, I can compile tham as one by

 

COMPILE ~C#Ajantis_SvA\Dialogues\C#Ajan_pr.d~

~C#Ajantis_SvA\Dialogues\C#Ajan_andere_pr.d~ // no COMPILE here

 

This also works, if the texts are in separate tra files of the same file names.

 

If I have to specify the path to the tra file however, this combination doesn't work by adding USING, e.g.

 

COMPILE ~C#Ajantis_SvA\Dialogues\C#Ajan_pr.d~ USING ~%tra_path%/%LANGUAGE%/C#Ajan_pr.tra~

~C#Ajantis_SvA\Dialogues\C#Ajan_andere_pr.d~ USING ~%tra_path%/%LANGUAGE%/C#Ajan_andere_pr.tra~

 

gives a compile error.

 

Question: Is there a way to compile d.files as one with specifying the paths to the two tra files? EDIT: I'd be happy if the first anser wouldn't be "why don't you just combine the .d files, then?". Thank you.

Link to comment

Question: Is there a way to compile d.files as one with specifying the paths to the two tra files? EDIT: I'd be happy if the first anser wouldn't be "why don't you just combine the .d files, then?". Thank you.

Sadly, no. If the TRA files overlap, you can't compile D files like these with USING. USING does not scope the TRA files on a per D basis like AUTO_TRA does. USING scopes TRA files on a per COMPILE basis. However, the idea you posted over at PPG allows you to keep using AUTO_TRA.

Link to comment

Archived

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

×
×
  • Create New...