 |
nazradin Apprentice
Joined: 23 Mar 2003 Posts: 114 Location: New Zealand
|
Posted: Tue Jun 17, 2003 5:16 pm
highlighting question |
using a capture so when i look in and on things it is sent to another window.
#CLASS {Memory|Memory Subclass}
#TRIGGER {In the (*).} {#GAG;#CAP Memory {In the %1}} "" {case}
#TRIGGER {On the (*).} {#GAG;#CAP Memory {On the %1}}
#CLASS 0
I have highlight trigger for varaible strings set in the cature window so that things of interest to me are highlihgted.
such as
#TR {@gemstoneiii.gems} {#cw steelblue "" {case}}
the problem is that i use triggers for variable strings for all my highlights and even ones that i have not refernced in the sub window are appearing .. well sort of appearing they show as black on black even though i have not color setting like that in my color prefernces
for in stance in i look on a bench i might see "a reinf ed shield" in stead of "a reinforced shield" becuase i have orc in my critter highlights.
is there something obvious i am missing or is this "a feature" if so how do i get around?
thanks Nazradin |
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Jun 17, 2003 6:27 pm |
Using the #CW command with more than one argument creates new triggers. If you are going to use this command inside a trigger, then you need to use it with just one argument - the color to use.
Kjata |
|
|
|
 |
nazradin Apprentice
Joined: 23 Mar 2003 Posts: 114 Location: New Zealand
|
Posted: Tue Jun 17, 2003 6:56 pm |
quote:
Using the #CW command with more than one argument creates new triggers. If you are going to use this command inside a trigger, then you need to use it with just one argument - the color to use.
Kjata
i am not sure what to do to fix this,
my @enemy variable and highlight trigger
#TRIGGER {{@enemy}} {#CW crimson}
which are stored in the gemstoneiii window only, if i add a pathway to highlight such as
{@gemstoneiii.gems} {#cw steelblue "" {case}}
then the problem goes away sortoff as the enemy strings highlight in choosen color, if there is not pathway to the variable then i get the black on black thing happening. I removed the case setting on the trigger but it made no differnece.
is it possible to send the capture in a specfic color (eg send it all as my basic grey text) and then use the highlight triggers set in the cature window to highlight the things i want
I also tried
#CLASS {Memory|Memory Subclass}
#TRIGGER {In the (*).} {
#GAG
#CAP Memory {~<c grey~>In the %1~</c~>}
} "" {case}
#TRIGGER {On the (*).} {
#GAG
#CAP Memory {~<c blue~>On the %1~</c~>}
}
#CLASS 0
and
#CLASS {Memory|Memory Subclass}
#TRIGGER {In the (*).} {
#GAG
#CAP Memory {In the %1} {~<c green~>%1~</c~>}
} "" {case}
#TRIGGER {On the (*).} {
#GAG
#CAP Memory {On the %1} {~<c blue~>%1~</c~>}
}
#CLASS 0
not sure of correct syntax for this but tried both neither work , althought that wuld be just beacuse they are wrong as no syntax error shows
thanks Nazardin |
|
|
|
 |
nazradin Apprentice
Joined: 23 Mar 2003 Posts: 114 Location: New Zealand
|
Posted: Thu Jun 19, 2003 4:16 am |
after looking at a couple of my other scripts i have managed to get it to do what i want.. only highlight according to the settings in the capture window.
#CLASS {Memory}
#BUTTON 238 {Memory Off} {#T+ {Memory|Memory Subclass}} {Memory On} {#T- {Memory|Memory Subclass}} {} {1} {} {Size} {100} {17} {Pos} {25} {1119} {} {} {} {} "" {} {} {} {3}
#CLASS 0
#CLASS {Memory|Memory Subclass}
#TRIGGER {In the (*).} {#GAG;#co {grey,black};#CAP Memory {In the %1}} "" {case}
#TRIGGER {On the (*).} {#GAG;#co {grey,black};#CAP Memory {On the %1}} "" {case}
#CLASS 0
nazradin |
|
|
|
 |
|
|
|