|
krohnu Beginner
Joined: 09 Mar 2003 Posts: 28
|
Posted: Tue Jul 22, 2003 4:20 pm
Prompt Dilema |
I have a set of triggers that i use to eval my current hp mana and endurance, they trigger off the prompt. I was also setting up triggers to eval what mobs are in the room to kill them, but I have found that as long as the prompt is the last line sent the triggers do not go off.
here is what it looks like as i walk into a room:
The Elemental Barracks
Here is the battle ready room for the elements to bar the warring cities. There is a ferocious wind that conjures individual storms to do battle. A small tornado, each ready to stop at nothing.
[ Exits: north east ]
4: The corpse of a Wielder of Air is lying here.
i130 2045H 3606M 570E 3588944G >
so any ideas? some of my triggers i have moved to trigger off the [ Exits: but i still come back to the prompt for some... |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Jul 22, 2003 5:28 pm |
So, what triggers did you set up for the mobs, and how does a mob in a room look in your MUD?
|
|
|
|
krohnu Beginner
Joined: 09 Mar 2003 Posts: 28
|
Posted: Tue Jul 22, 2003 7:35 pm |
well here is what a room looks like:
The Elemental Barracks
Here is the battle ready room for the elements to bar the warring cities. A
massive river raging over a waterfall spills forth-mighty warriors ready to do
it's bidding. There are no warriors that can battle for half as long as these
mighty warriors, they will not step aside to let any through.
[ Exits: north east south west ]
7: The corpse of a Wielder of Water is lying here.
A piller of water stands before you.
i130 2407H 5680M 570E 5244944G >
There are a few corpses, and a mob, then a space then the prompt.
As far as what triggers... well i can give a few examples.
#TR {A piller of water } { #add mobs 1 }
now what i would like to do is
#TR {i(%N) (%N)H (%N)M (%N)E (%N)G ~>}{#if (mobs > 2) {cast 'area}}
But instead i have to do it with #alarms.
Thanks |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Jul 22, 2003 10:26 pm |
First, it should be:
#IF (@mobs > 2) {...}
Now, since this trigger is supposed to fire on a prompt, you have to tell that to zMUD. In the options for that trigger, make sure that Trigger on Prompt is selected and Trigger on Newline is not. |
|
|
|
krohnu Beginner
Joined: 09 Mar 2003 Posts: 28
|
Posted: Wed Jul 23, 2003 4:22 pm |
Duh...
thanks for clearing that up... |
|
|
|
|
|