|
raimisch Newbie
Joined: 10 May 2007 Posts: 2
|
Posted: Thu May 10, 2007 10:30 pm
spaced out multi line trigger |
Is it possible to set up a multi line trigger, that is intterupted by a prompt and command entry? If it helps this is the text that I am working with.
There doesn't appear to be any room to cast that way.
You hold a short fishing rod in your hand.
<188/188hp 219/219m 317mv 6279>
<pp:0 st:0 sp:0 gp:1215 cp:5863 > fish direction
Your fishing line is not long enough.
given a text like this is it possible for a trigger to be started? I tried a simple multi line trigger but it did not work , any help is appreciated. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri May 11, 2007 2:01 am |
Multi-state triggers don't care about line location, unless you tell it to care about such things (ie, the Within Lines and Wait Lines states).
#trigger {You hold a short fishing rod in your hand.} {stuff you want to do here}
#condition {Your fishing line is not long enough.} {stuff you want to do here} |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
raimisch Newbie
Joined: 10 May 2007 Posts: 2
|
Posted: Fri May 11, 2007 3:12 am |
Is there any way to have a variable in the #trigger section, and have it useable in the stuff I want to do part of it in the condition area?
I thank you for all the help, I am just having some trouble figuring this out. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Fri May 11, 2007 3:24 am |
#trigger {You hold a short fishing rod in your (%w) hand.} {stuff you want to do here;whichHand=%1}
#condition {Your fishing line is not long enough.} {stuff you want to do here;#say I am using my @whichHand hand.}
I am not sure how the rules apply but you MIGHT be able to use %t1 where I placed the @whichHand in the condition, If that works then you don't need to even use @whichHand. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri May 11, 2007 7:55 pm |
I think it's %t1 - that or it's %x1. They're numbered in the order they appear in the whole multistate trigger.
#trigger {You hold a short fishing rod in your (%w) hand.} {stuff you want to do here}
#condition {Your fishing line is not long enough.} {stuff you want to do here;#say I am using my %t1 or maybe my %x1 hand.} |
|
|
|
|
|