berelinde Posted November 30, 2006 Share Posted November 30, 2006 Tried checking the WeiDU documentation and doing a forum search, but came up with nothing. I want to make sure I don't run into the same trouble with Sirene's Call as BG1 NPC or with other mods. Link to comment
Domi Posted November 30, 2006 Share Posted November 30, 2006 ADD_TRANS_ACTION adds an action after every player option in dialogue (such as settingh a global). There is an option to add the action only after certain PC replies. From Weidu Documentation: or ADD_TRANS_ACTION filename BEGIN stateNumber list END BEGIN transNumber list END transActionString This instructs WeiDU to add the transActionString to all of the transitions in all of the states specified by the stateNumber list and the transNumber list. You may use state labels in the stateNumber list. If the transNumber list is empty, the text added to all transitions on all listed states. Note that the BEGIN and END keywords must be present, even if you specify an empty list of transNumbers. The ``first'' transition is number 0. Any out-of-bounds transNumbers are silently ignored. The transActionString is prepended to any existing action text on a per-transition, per-state basis. Example of use: ADD_TRANS_ACTION 41AOCHA BEGIN 0 END BEGIN END ~SetGlobal("P#PeonySeesAocha","GLOBAL",1)~ This line on D-file sets a global after every PC reply in the State 0 of 41AOCHA.DLG. I'm using it to trigger a conversation afterwards. Link to comment
berelinde Posted November 30, 2006 Author Share Posted November 30, 2006 Your explanation made sense to me. Thanks much! Link to comment
Domi Posted November 30, 2006 Share Posted November 30, 2006 No problems! I wish WeiDU documentation had an example of proper syntaxis with more cumbersome thinggies myself. Sometimes it's a pain to get them right for a person like me who haven't seen a programming language before. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.