Jump to content

Replacing a response condition


Kish

Recommended Posts

Is it possible to replace a response condition? That is, Borinall the fence, when you show up at his house to take the Dawn Ring from him, says in State 8,

 

So I ask you. Are you currently in service to Talos? Are you loyal to him and him alone? And may he strike you down if you are lying.

 

Your first response choice is:

I assure you that I am a servant of Talos in this matter. May he strike me down if I am lying. Condition: OR(5)

Class(Player1,CLERIC)

Class(Player1,FIGHTER_CLERIC)

Class(Player1,CLERIC_MAGE)

Class(Player1,CLERIC_THIEF)

Class(Player1,FIGHTER_MAGE_CLERIC)

Alignment(Player1,MASK_EVIL)

Global("Stripped","GLOBAL",0)

 

If I wanted to change the condition to Global("ExampleVariable","GLOBAL",1), is there a way to do exactly that, or would I need to work around getting to that state at all?

Link to comment

ALTER_TRANS was something we requested for the FIxpack just for situations like this. You can target a specific transition in a specific state and then replace the trigger, action, or whatever.

 

ALTER_TRANS Borinall BEGIN 8 END BEGIN 0 END // filename, state, trans
BEGIN // list of changes, see below for flags
 TRIGGER ~Global("ExampleVariable","GLOBAL",1)~
END

Link to comment

Archived

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

×
×
  • Create New...