|
Spearmaster Newbie
Joined: 28 Dec 2005 Posts: 2
|
Posted: Wed Dec 28, 2005 7:31 pm
A question of time and gauges |
I got this quest time and I want to change that time and have a gauge to tick down to 0.
Here is the line that it shows
There are 2 minutes remaining until you can go on another quest.
how do I make a gauge that goes from that amount of time until 0 and then dissapears?
thank you |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Dec 28, 2005 8:51 pm |
#trigger {There are (%d) minutes remaining until you can go on another quest.} {Quest.maxtime = %eval(%1 * 60);Quest.curtime = @Quest.maxtime;#T+ tQuestAlarm}
#alarm "tQuestAlarm" *1 {#if (@Quest.curtime) {#add Quest.curtime -1} {#message "YOU CAN GO ON ANOTHER QUEST NOW!";#T- tQuestAlarm}}
When setting up your button, in the gauge tab put @Quest.maxtime as your max value and 0 as your low value. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Spearmaster Newbie
Joined: 28 Dec 2005 Posts: 2
|
Posted: Thu Dec 29, 2005 5:12 am |
Thank you very much it works nicely...
|
|
|
|
|
|