|
wooku Newbie
Joined: 28 Jun 2012 Posts: 3
|
Posted: Thu Jun 28, 2012 5:17 pm
What I should use? Wait, alarm or something else? |
Hi,
I've read this topic http://www.zuggsoft.com/page.php?file=zmud/timers.htm,
but still I don't have an idea what to use for something like that:
From MUD:
You lose concentration
Me After 7 Sec:
recast spell
but what is important for me it's to cast spell only once even if "You lose concentration" will be shown few times in a row, so:
You lose concentration
You lose concentration
You lose concentration
And me after the last "You lose concentration" and t sec:
recast spell - only once
Is there any way to do that? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Jun 28, 2012 6:06 pm |
for zMUD you will want to use an alarm.
naming the alarm will keep it from being replicated
#ALARM "recaster" +7 {recast} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
wooku Newbie
Joined: 28 Jun 2012 Posts: 3
|
Posted: Thu Jun 28, 2012 7:32 pm |
Thanks! It works!
|
|
|
|
wooku Newbie
Joined: 28 Jun 2012 Posts: 3
|
Posted: Sun Jul 01, 2012 8:40 am |
Hey Again,
I have new idea, but I'm not sure where to start.
I need something like this:
From MUD:
You lose concentration
Me After 7 Sec:
recast spell
And after this, for 30 second, I would like to make triger "You lose concentration" not enabled.
I'm thinking abut something like that:
#TRIGGER {You lose concentration} { (anyway, what's or where's trigger ID?)
#ALARM "recaster" +7 {recast}
#ALARM "off" +8 {#T- You lose concentration (Is this trigger ID?)}
#ALARM "onr" +38 {#T+ You lose concentration (Is this trigger ID?)}
}
What do you think, will it work? |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun Jul 01, 2012 10:56 am |
If you open the editor and look at your triggers, there is a little button neear the bottom that says more
expand that and you will see the ID field
#TRIGGER "spellFailed" {You lose concentration} {
#ALARM "recaster" +7 {recast}
#T- spellFailed
#ALARM "spellRestart" +38 {#T+ spellFailed}
} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|