|
hykou Wanderer
Joined: 29 Apr 2004 Posts: 63 Location: USA
|
Posted: Thu Jul 29, 2004 10:23 pm
bot help |
i have a speed walk that i set up to walk around the forest... heres the speed walk. its called tempbot and #SLOW tempbot wont work, it just says aborting speedwalk. i wanna make it where when it sees An elven bard is here, playing a song on his flute. it will stop, kill, continue... i know the
Code: |
#trigger {#IF An elven bard is here, playing a song on his flute.} {#PAUSE; kill bard; #RESUME} |
thats what ive been told. can someone please help me out? thank you
Code: |
h88eh73wn73en73wn73eh72wn72en72wn71eh70wn69eh68wn67eh66wn57en57wn56e3wh52wn50ewh48wn45e8wh54wn53eh52wjn2h2n4h2w2hn2h3nhw2nhwhj2hw2h2w3hw2nhwh2nhw2h5n2wn2en2wjenwj2nh4njhnh3nh2n3hn2h7nw4n3hn3hw3hwnhn2h2n4hw2hw4hw2hnh2wn2en2wn2en2wj6nw5n2wnwn2wn4hnj2hne3ne2sk3el4wl4el4wk7el13w13e8l11s2w4n2w4s3e3s2wklkewewnjhewslkwnj31ekl19ws15es14ws16es19ws16es14ws20es18w21e3l18w2s23e8l3s4ls11es18ws18el13w2s14e15k34s5l2s4l2slsls2ls3ls3ls3l11el19sks3wkws4w |
|
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Mon Aug 30, 2004 5:27 am |
The Path should be path or path name in this case I will use your path since you have provided it.
Code: |
#slow .h88eh73wn73en73wn73eh72wn72en72wn71eh70wn69eh68wn67eh66wn57en57wn56e3wh52wn50ewh48wn45e8wh54wn53eh52wjn2h2n4h2w2hn2h3nhw2nhwhj2hw2h2w3hw2nhwh2nhw2h5n2wn2en2wjenwj2nh4njhnh3nh2n3hn2h7nw4n3hn3hw3hwnhn2h2n4hw2hw4hw2hnh2wn2en2wn2en2wj6nw5n2wnwn2wn4hnj2hne3ne2sk3el4wl4el4wk7el13w13e8l11s2w4n2w4s3e3s2wklkewewnjhewslkwnj31ekl19ws15es14ws16es19ws16es14ws20es18w21e3l18w2s23e8l3s4ls11es18ws18el13w2s14e15k34s5l2s4l2slsls2ls3ls3ls3l11el19sks3wkws4w |
Then your trigger would be
Code: |
#trigger {An elven bard is here, playing a song on his flute.} {#PAUSE;kill bard;#step}
|
This however would create a very bad situation
You would start fighting then proceed to try to walk off.
You would need to creat a second triiger to let you know when the elven bard is dead and your ready to move on.
Code: |
#trigger {The Elven Bard is DEAD!!} {#wa 5000;#step}
|
so in the end this is what you should probably have:
Code: |
#slow .h88eh73wn73en73wn73eh72wn72en72wn71eh70wn69eh68wn67eh66wn57en57wn56e3wh52wn50ewh48wn45e8wh54wn53eh52wjn2h2n4h2w2hn2h3nhw2nhwhj2hw2h2w3hw2nhwh2nhw2h5n2wn2en2wjenwj2nh4njhnh3nh2n3hn2h7nw4n3hn3hw3hwnhn2h2n4hw2hw4hw2hnh2wn2en2wn2en2wj6nw5n2wnwn2wn4hnj2hne3ne2sk3el4wl4el4wk7el13w13e8l11s2w4n2w4s3e3s2wklkewewnjhewslkwnj31ekl19ws15es14ws16es19ws16es14ws20es18w21e3l18w2s23e8l3s4ls11es18ws18el13w2s14e15k34s5l2s4l2slsls2ls3ls3ls3l11el19sks3wkws4w
#trigger {An elven bard is here, playing a song on his flute.} {#PAUSE;kill bard}
#trigger {The Elven Bard is DEAD!!} {#wa 5000;#step}
|
good luck |
|
_________________ megamog75
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Mon Aug 30, 2004 12:17 pm |
Quote: |
#trigger {The Elven Bard is DEAD!!} {#wa 5000;#step} |
megamog #wait in triggers is never a good idea you shuold know this...
http://www.zuggsoft.com/zmud/timers.htm
#TRIGGER {The Elven Bard is DEAD!!} {#ALARM "stepwait" {+2} {#step}}
Also hykou I recomend you read this file http://www.zuggsoft.com/library/speedwalking.htm
#SLOW without using the mapper you will need a way to tell that you have moved succsefully ie.
#TRIGGER {exits line here} {#OK}
so a break down of what you need.
#NOOP FIRST the path tempbot which you have
#NOOP SECOND a trigger to confirm movment
#TR {Exits:} {#OK}
#NOOP THIRD #PAUSE and kill when we see a bard
#TRIGGER {An elven bard is here, playing a song on his flute.} {#PAUSE;kill bard}
#NOOP FOURTH A trigger to #STEP when the bard is dead
#TRIGGER {A bard is dead!} {#ALARM "stepwait" {+2} {#STEP}}
#NOOP Be sure to change the trigger patterns to correctly match |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Aug 31, 2004 1:30 pm |
This is always true, I just wanted to show him the way , not really do it for him.
Sometimes the question needs way more work and I find it fun to let the person learn along the way :) |
|
_________________ megamog75
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere |
|
|
|
|
|