|
grimbold Newbie
Joined: 24 Feb 2005 Posts: 2
|
Posted: Thu Feb 24, 2005 3:01 pm
Problems with a combat script |
So, I adapted a combat script I found on the forums, and I'm having a weird problem. After killing a mob, instead of checking to see if theres another mob to kill or resuming the slow walk, it auto attacks without waiting for any other triggers to hit. Heres the patterns.
Code: |
#TRIGGER {^You have killed *} {get loot from corpse;bury corpse;#WAIT 140000;#T+ Kill;#T+ Walk;look} {Kill}
#TRIGGER {obvious exit} {#ALARM bot +3 {#STEP;#PAUSE} {Walk}
#TRIGGER {* newbie} {#T- Walk;#SUSPEND bot;kill newbie;#T- Kill} Kill |
Please bear with me, I dont have any of this code right here in front of me i'm posting from my puter at work and I dont have zmudd or my settings with me at work. I remember my patterns pretty well though, i was messing with this crap for like 2 hours last night. and a total of 10 hours the two nights before.
Any help is greatly appreciated
With Regards |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Mon Feb 28, 2005 4:50 pm |
#wait is your first problem should change that to a #alarm
Why are you killing the newbie"s? that's not kind of you.
these are seperat triggers and will fire always unless you have them in a folder taht shuts off and on
on named the trig's themselves. |
|
_________________ 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 |
|
|
|
grimbold Newbie
Joined: 24 Feb 2005 Posts: 2
|
Posted: Wed Mar 02, 2005 6:49 pm |
I thought of using an alarm command instead of the wait command, but i havent tried that yet. My major problem though was that the triggers never waited for each other. they are in separate folders and the script turns them on and off at what i'm assuming is the appropriate times. I dunno.. tell you what.. i'll paste the whole thing in. I just used a couple quick examples cause i didn't think you'd need to see the whole thing. well.. when i have all the code in front of me i'll repost.
Thanks much
By the way, I just inserted the newbies in there to have a mob name ;) I do like killing newbs though :p |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Mar 03, 2005 9:47 am |
you alsoneed to break it down and see if it is working
|
|
_________________ 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 |
|
|
|
|
|