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
Aamon
Newbie


Joined: 19 Mar 2013
Posts: 1

PostPosted: Tue Mar 19, 2013 9:58 am   

Gauge Spell Timer Help
 
Need some help setting up a gauge/button timer.

Basically when i cast a spell i would like the button/gauge to be red and after the spell timer is up and i am able to cast again have it display green so i know i can cast that spell again.

Any help would be greatly appreciated.

Sample:

Spell Name: Petrify
Timer: 5 minutes
Trigger to start timer: You cup your hands, drawing in the forces of nature.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Tue Mar 19, 2013 2:58 pm   
 
i use the button trick quite frequently

define your button and give it the name of the power you use
it only needs to send the command to activate the power itself

#TR {You cup your hands, drawing in the forces of nature.} {
#CALL %btncol(Petrify,,firebrick)
#ALARM "petrifying" +301 {#CALL %btncol(Petrify,,lime)}
}
_________________
Discord: Shalimarwildcat
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