Jump to content

What's wrong with this .d?


Creepin

Recommended Posts

I encountered some problems with patching existing dialogue, so I decided to run a serie of tests to locate where exactly problem lies. After some increasingly simplified tests I come out with this core of problem:

 

1. If I'm compiling following .d file which consists of one command

ADD_STATE_TRIGGER denak 0 ~Global("crvesque", "GLOBAL",0)~

it works fine.

 

2. If I'm compiling .d file which consists of another command

ADD_TRANS_ACTION denak BEGIN 1 END BEGIN END

~SetGlobal("crvesgon", "AR3000",1)~

it works fine as well.

 

3. Now the trick: I'm trying to compile .d file with this 2 commands

ADD_STATE_TRIGGER denak 0 ~Global("crvesque", "GLOBAL",0)~

ADD_TRANS_ACTION denak BEGIN 1 END BEGIN END

~SetGlobal("crvesgon", "AR3000",1)~

Result is 1st command works as it should, second - no signs of it, as if it wasn't in .d at all :)

 

4. Just tried to split these 2 commands in 2 files and compile them one after another... it fully works! :)

 

I just don't understand what is wrong with file from my 3rd example... may be there's some special syntax for using different types of commands within the same .d? Damn I'm confused! :p

Link to comment

Archived

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

×
×
  • Create New...