Kish Posted August 8, 2013 Share Posted August 8, 2013 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
Echon Posted August 8, 2013 Share Posted August 8, 2013 That should be what REPLACE_TRIGGER_TEXT does. From the WeiDU readme: REPLACE_TRIGGER_TEXT filename oldText newText dActionWhen list edit: sorry, copied the wrong description Link to comment
CamDawg Posted August 8, 2013 Share Posted August 8, 2013 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
CamDawg Posted August 8, 2013 Share Posted August 8, 2013 Also, some jerk write up a tutorial for ALTER_TRANS in the WeiDU docs. Link to comment
Kish Posted August 8, 2013 Author Share Posted August 8, 2013 Thanks! That should be very useful. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.