Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there a way to play a sound effect for each time you gain a level without linking an event for every single level in the skill table (a very tedious process when you have to do this over a hundred times and you have no clue just how much people will end up leveling up :))?
------------------
You could load the current level into a global variable whenever it is increased, and have a conditional that checks if global variable whatever is different to say, 0, and then plays the sound..... but you still need to initialise the conditional. Hrm.
I'll have to think a bit more about this one.
-Andiyar
------------------ "Any good that I may do here, let me do now, for I may not pass this way again"
Create an event that plays the sound, and have the level events link to them. It's less tedious than choosing a 'play sound' action every time. If this isn't to your liking, try programming it in Real Basic. Cheers!
------------------ "... For in that sleep of death, what dreams may come when we have shuffled off this mortal coil must give us pause..." - Willaim Shakespeare, Hamlet
I'm pretty sure if you set the action to go off when you level up to LVL 0 then it happens every time.
------------------ The word politics is derived from the words poly, meaning many, and tics, referring to blood sucking parasytes.
Quote
Originally posted by Demiscus: I'm pretty sure if you set the action to go off when you level up to LVL 0 then it happens every time.
I tried it and it does happen every level, unfortunitely it plays the sound after I exit the level-up dialogue :frown:. Does anyone know how they did this in PoG?
Originally posted by Celchu: try programming it in Real Basic.
I would, but unfortunately I don't have Real Basic.
Doesn't anyone have any suggestions on how to play a sound while the level up dialogue comes up? Even a wild guess? I'm open to any ideas (and a lot of other people probably are, too :))
Maybe if you had an event that checked the status of a player's experience that was linked to the death event of every monster you made it wouldn't be that hard. But I forget if the Death event is executed before leveling up. Hmm that sounds like a good idea. /me goes to test it out
------------------ Visit The Search for Lezaref Website at (url="http://"http://www.geocities.com/mulletsailors") my old website(/url) or see (url="http://"http://homepage.mac.com/pcheese")my new website(/url) ------------------ BNET: PCheese IRC: PCheese AIM: PCheese87 email: pcheese@mac.com come on over to irc.ambrosia.net
Originally posted by PCheese: Maybe if you had an event that checked the status of a player's experience that was linked to the death event of every monster you made it wouldn't be that hard. But I forget if the Death event is executed before leveling up. Hmm that sounds like a good idea. /me goes to test it out
I don't have time right now to test it myself, but from what I know it will probably be executed after the level-up :frown: (but then again, it may not). It's worth a try, though. How do you have it check the experience (other than having a seperate conditional for each level)? Also, would there be a way to still execute it if the experience that is gained makes the total experience just above what is needed to gain a level? Good thinking, and I hope I'm wrong and it does end up working right. Now only if somebody knew how they did this in PoG...