|
mrtpyo Newbie
Joined: 14 Dec 2005 Posts: 2
|
Posted: Wed Dec 14, 2005 7:57 am
New to ZMud, Multiline trigger question |
Greetings,
I am completely new to ZMud and I am currently using version 7.04. I am trying to write code that would allow me to use the "scan" command, and bring me to my desired mob (if it is found in the vicinity).
Here is an example of the output following input of the "scan" command:
Code: |
Right here you see:
- mob
- A mob1
- A mob2
- A mob3
North from here you see:
- A zomgthismob
- A mob2
- A mob3
2 North from here you see:
- An mob1
East from here you see:
- A mob1
- A mob1
- A mob1
2 East from here you see:
- A mob4
3 East from here you see:
- An mob2
South from here you see:
- A mob5
- A mob5
- A mob5
|
I would then like the client to detect "A zomgthismob" (already defined in a variable as the target mob) and bring me 1 North to it.
My question is, on a scale from 1 to 10, in your opinion how difficult would it be to write code for this? My intuition tells me is would be significantly easier to code if the trigger was not multi-lined, ex:
Code: |
North from here you see: A mob1, A mob2, A zomgthismob, An mob1.
|
Any links to helpful resources would be greatly appreciated.
Thanks for reading,
mr tpyo |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Dec 14, 2005 9:16 am |
I would give this a difficulty scale of 1 if you were using the current version of zMud. The bugs that existed in 7.04 will likely make it more of a difficulty of 5. I would suggest upgrading to the current version.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Dec 14, 2005 4:54 pm |
Post removed cause it don't even really answer yer question. This is what happens when i don't read the WHOLE post and assume that the poster wanted to now how far a mob was.
Well...maybe you can take it from here dunno. That's a whole bot type thing and i don't do those. |
|
|
|
|
|