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
Oni
Beginner


Joined: 28 Aug 2002
Posts: 16

PostPosted: Sun Sep 29, 2002 5:06 am   

Trigger question
 
Ok i am trying to trigger off these type of lines. But the action can only happen once a round. The first 3 line are my hits the last line is the mobs hit. One of each will appear for each round. Is there a easy way to setup a trigger to go on my hits for the mutiple name mobs.

You hit Ulrik very hard.
You hit A hedgehog very hard.
You hit Dark elf guard very hard.

Dark elf guard hit you very hard.

Thanks for the help
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Sep 29, 2002 6:00 am   
 
quote:

Ok i am trying to trigger off these type of lines. But the action can only happen once a round. The first 3 line are my hits the last line is the mobs hit. One of each will appear for each round. Is there a easy way to setup a trigger to go on my hits for the mutiple name mobs.

You hit Ulrik very hard.
You hit A hedgehog very hard.
You hit Dark elf guard very hard.

Dark elf guard hit you very hard.

Thanks for the help



What starts off your round? Without this distinction, it's pointless to try limiting your trigger because you'd never have a way to revert.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Oni
Beginner


Joined: 28 Aug 2002
Posts: 16

PostPosted: Sun Sep 29, 2002 6:10 am   
 
A little clarifaction:
This is the current trigger that i am using
You hit %w very hard.

It does what i want if the creature has only 1 name like the first example. But does not work with the second and third. I am trying to see if i can write 1 trigger that would catch all three examples. They are in a class that gets turned off and on as i need them..
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Sep 29, 2002 3:25 pm   
 
You hit * very hard.

Kjata
Reply with quote
Oni
Beginner


Joined: 28 Aug 2002
Posts: 16

PostPosted: Sun Sep 29, 2002 7:11 pm   
 
Worked perfect. And help me get rid of a few extra triggers.
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