|
guganslof Beginner
Joined: 05 Apr 2008 Posts: 19
|
Posted: Tue Jul 08, 2008 5:07 pm
[2.29] #sub and prompt |
Im trying to set up my in game prompt to display some numbers rather then text.
my current trigger is
Pattern: SP:Strong
#sub {SP: ???-146}
Yet for some reason it only shows up on half the SP:Strong sometimes it replaces the text, sometimes it doesn't. Anyone got an idea here? Im kinda stumped :(
* HP:Healthy SP:Strong MV:Full > tell kazalyn where are you
You tell Kazalyn 'where are you'
* HP:Healthy SP: ???-146 MV:test >
Kazalyn tells you 'black lizards'
* HP:Healthy SP:Strong MV:Full > reply send me another tell
You reply to Kazalyn 'send me another tell'
* HP:Healthy SP: ???-146 MV:Fresh >
Kazalyn tells you 'hi'
* HP:Healthy SP: ???-146 MV:Fresh >
A man has arrived from the west.
* HP:Healthy SP:Strong MV:Fresh > |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jul 08, 2008 7:05 pm |
You'll notice that the difference is that prompts you've typed something at aren't changed, but ones you haven't are. This is because your trigger isn't set as a prompt trigger - in the package editor, create a copy of the trigger and in the copy, uncheck Trigger on Newline and check Trigger on Prompt. Hopefully these two triggers will now cover both kinds of prompt. You could try and see if a single Trigger on Prompt trigger will do both, but it probably won't. You could also try using one trigger with both boxes checked, but I haven't tried that in a while and can't testify to how well it'll work.
|
|
|
|
guganslof Beginner
Joined: 05 Apr 2008 Posts: 19
|
Posted: Tue Jul 08, 2008 11:12 pm |
thanks, that did the trick :)
fyi, one trigger with both boxes checked worked just fine for me |
|
|
|
|
|