|
sonic306 Newbie
Joined: 11 May 2014 Posts: 9
|
Posted: Mon Jan 11, 2021 12:08 pm
Capuring conversations |
Hello,
I have a small issue that I can not solve, I am trying to capture different communications channel with different triggers, the problem is that it only captures the first line and omits the following lines
I think i can understand that it is related to the line wrapping but i am not able to solve it |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Jan 11, 2021 5:16 pm |
You can make a trigger state to capture subsequent lines.
Here is an XML example of one such trigger that I use:
Code: |
<trigger priority="1" id="488">
<pattern>^%w {tell|ask}{s|} %w{ |}:</pattern>
<value>#CAP Tells</value>
<trigger type="Within Lines" param="1">
<pattern>^ %s (*)</pattern>
<value>#EXECWIN Tells {#SAYADD { %trim(%1)}}
#STATE 1</value>
</trigger>
</trigger> |
The spacing may not be the same on your game, so some editing is bound to be needed to make it work, but that is the basic concept. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
sonic306 Newbie
Joined: 11 May 2014 Posts: 9
|
Posted: Thu Feb 11, 2021 7:03 pm |
Thank you
|
|
|
|
|
|