|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Wed Mar 05, 2003 6:30 pm
Auto looting problems |
Thanks go out to Charbel for helping me with my last problem. (Yay Charbel!)
Hi Folks, new problem here. :)
I have an auto loot trigger that takes care of everything I need to do when a mob dies. However, I'd like to figure out how to fix it so that if I enter a room where someone else is killing a mob my "died." (auto loot) trigger doesn't auto loot his mob if it dies while I'm entering his room.
Hope that makes sense. :)
Thanks in advance
Tyger |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Mar 05, 2003 9:03 pm |
Does the line that says the mob died also say who killed it? Or is there a nearby line that informs this to you, like the previous one? If so, then you could have the trigger check if it was you who killed the mob or someone else.
Kjata |
|
|
|
edyarchi Newbie
Joined: 25 Feb 2003 Posts: 7 Location: Italy
|
Posted: Thu Mar 06, 2003 12:18 am |
It is very important to see the differences between the message you get when you kill a mob and when another play kills a mob.
Probably you can solve the question trigging the message obtained when you receive experience... instead of that regardin the death of the mob. |
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Thu Mar 06, 2003 3:31 pm |
The line that is used is the same for the person killing as it is for everyone else in the room....
Example: Soldier died.
Tyger |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Thu Mar 06, 2003 4:13 pm |
Since the line is the same, what Kjata and edyarchi are saying is you need to use context from some of the other lines to decide whether to loot or not.
#tr {You get %d exp.} {get all cor}
but the exact trigger will have to be your own, since the output that comes is still a mystery.
--------
moon.icebound.net:9000 |
|
|
|
|
|