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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
The1nk
Newbie


Joined: 09 Jun 2008
Posts: 5
Location: Blenheim, NJ

PostPosted: Fri Jun 27, 2008 5:57 am   

Multi-Line trigger thingie? help please? :-P
 
Hey, I'm playing on a mud where mobs can be flying or standing, and if they're flying, it notes it on the level beneath, ie:
    A Light Elemental glows brightly here.
    * he is flying around here!
    A Shadow Elemental fades into the darkness here.
    * she is flying around here!
    A Light Elemental glows brightly here.
    A Light Elemental glows brightly here.

Generally, I have it do "Kill elemental" upon seeing the first elemental. And if the bugger's flying, it'll tell me "You must be flying if you want to kill them." and on that trigger, I have it fly and attack again. Which isn't exactly efficient. The mobs move frequently, and it gets caught up when I fly and try to attack - but they left. :-P

Anyone have any idea on how to get it to capture the fact that there's an elemental, and capture that they're flying? O.o

Thanks a mil :)
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Fri Jun 27, 2008 1:29 pm   
 
#trigger {A %w elemental glows brightly here.} { }
#cond {* (he|she) is flying around here.} {cast fly}

?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Toxic
Adept


Joined: 27 May 2008
Posts: 299

PostPosted: Fri Jun 27, 2008 1:57 pm   
 
#trigger {^A %w Elemental glows brightly here.} { }
#cond {{^(*) *$|^$}} {#IF (%1 = "*") {cast fly;kill elemental} {kill elemental}} {within|param=1}

That is probably a very convoluted way of doing it, but it should work... Untested tho.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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