How do you get a volume system in coldstone?
------------------
Thanks
GrahamVH
Hey, neat. I would also like to see how you did this. Would it be too much of a head ache to post to this forum? Otherwise, I wouldn't mind being emailed one, too.
------------------
Grant me the Creativity to Code cool software, the peace to accept all that is not Open-Source, and the Wisdom to pay all applicable Shareware fees. (Oh! ....And gimmie a huge friggen bag of money...!)
(This message has been edited by chucky3000 (edited 05-08-2002).)
Here's what I did:
Make a new global named something like "gb_volume".
Make a new event. Make a new "Change Global" action and make it set gb_volume to & &MusicVolume;, which is a tag value.
Make an End Event action in the Linked Events list. Make a Conditional which says "If gb_volume is greater than or equal to '100' , End Event; else Do Nothing."
Make another "Change Global" action in the main list. Make the "Change Global" action add 10 to gb_volume. Make a "Set Music Volume" action. In the only field, type "&&gb;_volume". Save your event and name it "Add Volume".
Copy your event, rename it to "Subtract Volume", and change two things in Subtract Volume:
A. Make the conditional say "If gb_volume is less than or equal to '0' , End Event; else Do Nothing."
B. Change the second Change Global action so that it subtracts instead of adding.
------------------
The greatest of harm can result from the best of intentions Wizard's Second Rule, Stone of Tears.
Cafall
Thanks!
------------------
Grant me the Creativity to Code cool software, the peace to accept all that is not Open-Source, and the Wisdom to pay all applicable Shareware fees. (Oh! ....And gimmie a huge friggen bag of money...!)
~slurp~
<b>Cafall's Volume Control </b> recipe
can now be found at
(url="http://"http://coldroom.150m.com/CGE_Stuff/CGE_Tips.html")http://coldroom.150m...f/CGE_Tips.html(/url)
~mmm... Tastes Great and less scripting
Thanx to Cafall for permission
------------------
Straytoaster@mac.com
See CGE_Tips at:
http://coldroom.150m...f/CGE_Tips.html