Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
talonnb
Apprentice


Joined: 30 Oct 2004
Posts: 127

PostPosted: Tue Aug 01, 2006 1:25 am   

Illusions and the Irritation
 
Here is a sample code.

H:3401 M:4273 E:16786 W:19133 B:100% [cdb eb]
A sense of deep inner calm descends on you.
Hatred burns in your eyes - you realise that your enemies are everywhere!
H:3401 M:4273 E:16786 W:19133 B:100% [cdb eb]
Your mind is able to focus once again.
H:3401 M:4273 E:16786 W:19133 B:100% [cdb eb]
Elisa sinks her fangs into your body and you wince in pain.
You are confused as to the effects of the venom.
H:3401 M:4273 E:16786 W:19133 B:100% [cdb eb]

The calm and hatred part are illusions, but the fangs thing is real. Is there a way to tell the triggers that there needs to be an attack prior? Something fast enough to trigger right away? Like maybe the fangs thing sets attacked 1 then allows the you are confused thing to actually set a variable?
Reply with quote
talonnb
Apprentice


Joined: 30 Oct 2004
Posts: 127

PostPosted: Sat Aug 05, 2006 3:07 am   
 
Well, since no replys, another question

If I use the Zmud mapper, and I'm following someone, how do I get it to step in a direction.

Such as: You follow Whoever west to location.

And, there is a skill in the place I have that allows me to sprint in a certain direction, allowing me to do all the 'wests' in one command, rather than doing 5 or 6 wests.
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Aug 05, 2006 3:47 am   
 
#TRIG {You follow %w (%w) to *.} {#MOVE %1}

This only works if your trigger phrase gives one name for the person. If the person can be more than one word, then I believe there is a way to pattern match specific words which you could use. In that case, you'd change the first %w to * and then second %w to the pattern match for direction.
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Aug 05, 2006 3:49 am   
 
As for your first question, I don't know specifics. You could probably set up a trigger for each possible attack and have it set a variable so that triggers for afflictions can see if that has happened. It is obviously slightly more complex then what I just said though as you'd have to have a way to know how to set the variable back to false.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net