Jump to content

open locked doors with SDF?


bigblue

Recommended Posts

i have a problem:

i have a door which should be locked until the party accepts a quest.

so i set the memory cells of the door as follows:

 

cell0: 200

cell1: 0

cell2: 0

cell3: 2

 

and this is the part of my dialogue script:

 

begintalknode 34;

state = 13;

personality = 12;

nextstate = 13;

condition = 1;

question = "Ok, let's gain wisdom!";

text1 = "_Come to me when you succeed._";

action = SET_SDF 0 2 1;

action = END_TALK;

code =

toggle_quest(1,1);

break;

 

i have to mention that the locked door is NOT in the same town!

 

what is wrong?

Link to comment
Share on other sites

Oh. Wait. You have two actions in your node. That's no good.

 

Set the flag in your code.

 

That is,

 

Code:
 begintalknode 34; state = 13; personality = 12; nextstate = 13; condition = 1; question = "Ok, let's gain wisdom!";text1 = "_Come to me when you succeed._"; code =set_flag(0,2,1);  toggle_quest(1,1);end();break; 
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...