|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Wed Nov 17, 2004 2:57 am
trigger problem |
OK here's my problem for the day.
I have a trigger.
@person leaves (%w).
this is what i want it to do.
I have two varibles @spinfo and @hunting
I am making a list variable for multiple signposts.
example: loth
west=aduck
east=hoplikemad
when the trigger fires it has to look at two things.
one, it needs to look at @hunting to see if it is even turned on.
two, it needs to look at @spinfo to decide which list variable it needs to use.
I hope makes since, if not, I'll try to clean it up.
Thanks |
|
_________________ Yama |
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Wed Nov 17, 2004 6:49 pm |
Is there anyway to do it that once the trigger fires it keeps it from firing until it gets another spinfo the game?
|
|
_________________ Yama |
|
|
|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Thu Nov 18, 2004 9:31 am |
Can you elaborate more on this? What info is contained in @spinfo? Perhaps give the code you already have so we can see what is going on?
|
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Thu Nov 18, 2004 5:11 pm |
OK.
spinfo will contain an abbrevated code for a waypoint that I have selected.
example West Gate of Bree = bre
the code will be using three things.
1. spinfo -to know what room i'm currently in.
2. hunting -set to either 1 or 0, 1 means i'm hunting, and the system needs to work.
3. ^@person leaves (%w) -records which direction they leave.
now, I have string lists with various aliases for different directions.
sample for bre
direction|alias
west -> abr1
east -> abr2
north -> abr3
south -> abr4
once it has done this, it will clear the spinfo, and wait for the next spinfo to appear
hope this helps. |
|
_________________ Yama |
|
|
|
|
|