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
Valint
Wanderer


Joined: 12 Nov 2003
Posts: 70
Location: USA

PostPosted: Fri Jan 09, 2004 7:04 am   

Using trigger types with gsl triggers
 
I can't seem to find a way to use trigger type options with gsl triggers, and was hoping someone could suggest a way.

Here's the issue:
In Gemstone, the GSr code is sent at two types: when field experience is converted to real experience (in a pulse roughly every minute) and when killing a mob increases the field experience.

In the first instance, the GSr code is sent once; in the second, it's sent twice consecutively.

Now, to differentiate between the two, I'd like to do something like:
#TRIGGER {r} {} {gsl|case}
#COND {z} {...} {within|param=1|gsl|case}

Unfortunately, mixing within and gsl doesn't seem to work. Anyone have a suggestion for how to do this?

Alternatively, if it can't be done now, I'd like to suggest that the gsl type be moved from the type category to the other category.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Jan 09, 2004 7:30 pm   
 
Taken from the helpfile topic, Trigger Command Options.
quote:
Only one option from the category Type can be used.

Since both "within" and "gsl" are listed in the Type category, it's predictable that they won't work together.

Since the categorization into "Type" and "Other" is based on the function of the option and not just arbitrarily assigned, I doubt that there's any possibility of moving "gsl" from "Type" to "Other".
Reply with quote
Valint
Wanderer


Joined: 12 Nov 2003
Posts: 70
Location: USA

PostPosted: Sun Jan 11, 2004 5:01 am   
 
Any suggestions on an alternate way to accomplish this?

Here's my attempt, but it seems a bit inelegant:
#TRIGGER "pulseTrig" {r} {#T+ pulsefailsafeTrig} {gsl}
#COND {r} {#T- pulsefailsafeTrig} {gsl}
#TRIGGER "pulsefailsafeTrig" {^*} {#T- pulsefailsafeTrig;#STATE pulseTrig 0;#SAY Single r-Trigger} {disable}
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